home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 3 / ct-rom iiib.zip / ct-rom iiib / WINDOWS / DIVERSEN / WINE02BX / NEWS < prev    next >
Text File  |  1993-03-28  |  164KB  |  4,309 lines

  1. This is Lucid GNU Emacs.  It is based on an early version of Emacs version 19
  2. from the Free Software Foundation.
  3.  
  4. Why Another Version of Emacs?
  5. =============================
  6.  
  7. Lucid's latest product, Energize, is a C/C++ development environment.  Rather
  8. than invent (and force our users to learn) a new user-interface, we chose to
  9. build part of our environment on top of the world's best editor, GNU Emacs.
  10. (Though our product is commercial, the work we did on GNU Emacs is free
  11. software, and is useful without having to purchase our product.)
  12.  
  13. We needed a version of Emacs with mouse-sensitive regions, multiple fonts,
  14. the ability to mark sections of a buffer as read-only, the ability to detect
  15. which parts of a buffer has been modified, and many other features.
  16.  
  17. Why Not Epoch?
  18. ==============
  19.  
  20. For our purposes, the existing version of Epoch was not sufficient; it did
  21. not allow us to put arbitrary pixmaps/icons in buffers, `undo' did not
  22. restore changes to regions, regions did not overlap and merge their
  23. attributes in the way we needed, and several other things.
  24.  
  25. We could have devoted our time to making Epoch do what we needed (and, in
  26. fact, we spent some time doing that) but, since the FSF planned to include
  27. Epoch-like features in their version 19, we decided that our efforts would 
  28. be better spent improving Emacs19 instead of Epoch.  
  29.  
  30. Our original hope was that our changes to Emacs would be incorporated into
  31. the "official" v19.  However, scheduling conflicts arose, and we found that,
  32. given the amount of work still remaining to be done, we didn't have time to
  33. merge with the FSF's code.  Consequently, we have released our work as a
  34. forked branch of Emacs, instead of delaying any longer.
  35.  
  36. Work has begun on a merger of Epoch and Lucid Emacs.  It seems likely that 
  37. the next release of Epoch will be based on Lucid Emacs instead of GNU Emacs
  38. from the FSF.  At some point, Lucid Emacs and Epoch will probably be the 
  39. same thing.
  40.  
  41. No Warranty
  42. ===========
  43.  
  44. Lucid Emacs is distributed under exactly the same terms as GNU Emacs, and
  45. thus has no warranty of any kind.
  46.  
  47. However, if you have received this version of Emacs with Energize, then it is
  48. covered by your Energize support contract.  If you have received it through
  49. some other means, then you may buy a support contract for it from Lucid.
  50. Send mail to lucid-info@lucid.com for more information about Lucid Emacs or
  51. Energize.
  52.  
  53. What's Different?
  54. =================
  55.  
  56. Lucid Emacs *currently* requires X Windows to run, though it will not be much
  57. work to make it run on dumb ttys again.  We plan to do this eventually.
  58.  
  59. We have not personally tried to compile this version of Emacs under anything
  60. but SunOS 4.1 on SparcStations, though others have successfully done so.  We
  61. are very eager to get feedback about portability problems from those who
  62. compile it on other systems.
  63.  
  64. We have reimplemented the basic input model in a more general way; instead of
  65. X input being a special-case of the normal ASCII input stream, Emacs has a
  66. concept of "input events", and ASCII characters are a subset of that.  The
  67. events that Emacs knows about are not X events, but are a generalization of
  68. them, so that Emacs can eventually be ported to different window systems.
  69.  
  70. We have reimplemented keymaps so that sequences of events can be stored into
  71. them instead of just ASCII codes; it is possible to, for example, bind 
  72. different commands to each of the chords Control-h, Control-H, Backspace,
  73. Control-Backspace, and Super-Shift-Backspace.  Key bindings, function key
  74. bindings, and mouse bindings live in the same keymaps.
  75.  
  76. Input and display of all ISO-8859-1 characters is supported.
  77.  
  78. You can have multiple X Windows ("screens" in Emacs terminology).
  79.  
  80. Our Emacs has objects called "extents" and "faces", which are roughly
  81. analogous to Epoch's "buttons," "zones," and "styles."  An extent is a region
  82. of text (a start position and an end position) and a face is a collection of
  83. textual attributes like fonts and colors.  Every extent is displayed in some
  84. "face", so changing the properties of a face immediately updates the display 
  85. of all associated extents.  Faces can be screen-local: you can have a region
  86. of text which displays with completely different attributes when its buffer
  87. is viewed from a different X window.
  88.  
  89. The display attributes of faces may be specified either in lisp or through
  90. the X resource manager.
  91.  
  92. There may be some display glitches if all the fonts of a screen are not the
  93. same height in pixels.  Any of the used fonts may be variable-width, but tabs
  94. will not be displayed sensibly.  We hope to improve this soon.
  95.  
  96. Emacs use the MIT "Xt" toolkit instead of raw Xlib calls, which makes it be
  97. a more well-behaved X citizen (and also improves portability).  A result of
  98. this is that it is possible to include other Xt "Widgets" in the Emacs
  99. window.  Also, Emacs understands the standard Xt command-line arguments.
  100.  
  101. Emacs understands the X11 "Selection" mechanism; it's possible to define
  102. and customize selection converter functions and new selection types from 
  103. elisp, without having to recompile Emacs.
  104.  
  105. Emacs now supports the Zmacs/Lispm style of region highlighting, where the
  106. region between the point and mark is highlighted when in its "active" state.
  107.  
  108. Emacs has a menubar, whose contents are customizable from emacs-lisp.
  109. This menubar looks Motif-ish, but does not require Motif.  If you already
  110. own Motif, however, you can configure Emacs to use a *real* Motif menubar
  111. instead.  If you have OLIT ("OpenLook Intrinsics"), you can use an
  112. OpenWindows-like menubar.
  113.  
  114. Emacs can ask questions using popup dialog boxes.  Any command executed from
  115. a menu will ask yes/no questions with dialog boxes, while commands executed
  116. via the keyboard will use the minibuffer.
  117.  
  118. The initial load-path is computed at run-time, instead of at compile-time.
  119. This means that if you move the Emacs executable and associated directories
  120. to somewhere else, you don't have to recompile anything.
  121.  
  122. You can specify what the title of the Emacs windows and icons should be
  123. with the variables `screen-title-format' and `screen-icon-title-format',
  124. which have the same syntax as `mode-line-format'.
  125.  
  126. Emacs now supports floating-point numbers.
  127.  
  128. Emacs now knows about timers directly, instead of them being simulated by
  129. a subprocess.
  130.  
  131. Emacs understands truenames, and can be configured to notice when you are
  132. visiting two names of the same file.  See the variables find-file-use-truenames
  133. and find-file-compare-truenames.
  134.  
  135. If you're running on a sun SparcStation, you can specify sound files for
  136. Emacs to play instead of the default X beep.  See the documentation of the
  137. function load-sound-file and the variable sound-alist.
  138.  
  139. Random changes to the emacs-lisp library: (some of this was not written by
  140. us, but is included because it's free software and we think it's good stuff)
  141.  
  142.   - there is a new optimizing byte-compiler
  143.   - there is a new abbrev-based mail-alias mechanism
  144.   - the -*- line can contain local-variable settings
  145.   - there is a new TAGS package
  146.   - there is a new VI-emulation mode (evi)
  147.   - there is a new implementation of Dired
  148.   - there is a new implementation of Isearch
  149.  
  150. There are many more specifics in the "Miscellaneous Changes" section, below.
  151.  
  152. The online Emacs Manual is relatively up-to-date, but the Emacs-Lisp Manual
  153. is not.
  154.  
  155. Here are some more specifics:
  156.  
  157. The Input Model
  158. ===============
  159.  
  160. The fundamental unit of input is an "event" instead of a character.  An
  161. event is a new data type that contains several pieces of information.
  162. There are several kinds of event, and corresponding accessor and utility
  163. functions.  We tried to abstract them so that they would apply equally
  164. well to a number of window systems.
  165.  
  166.  key_press_event    
  167.     event_channel    A token representing which keyboard generated it.
  168.             For this kind of event, this is a screen object.
  169.             (This is for eventual support of multiple displays.)
  170.     timestamp        When it happened
  171.     key            What keysym this is; an integer or a symbol.
  172.             If this is an integer, it will be in the printing
  173.             ASCII range: >32 and <127.
  174.     modifiers        Bucky-bits on that key: control, meta, etc.
  175.             For most keys, Shift is not a bit; that is implicit
  176.             in the keyboard layout.
  177.  button_press_event
  178.  button_release_event
  179.     event_channel    A token representing which mouse generated it.
  180.             For this kind of event, this is a screen object.
  181.     timestamp        When it happened
  182.     button        What button went down or up.
  183.     modifiers        Bucky-bits on that button: shift, control, meta, etc.
  184.     x, y        Where it was at the button-state-change (in pixels).
  185.  
  186.  pointer_motion_event
  187.     event_channel    A token representing which mouse generated it.
  188.             For this kind of event, this is a screen object.
  189.     timestamp        When it happened
  190.     x, y        Where it was after it moved (in pixels).
  191.  
  192.  process_event
  193.     timestamp        When it happened
  194.     process        the emacs "process" object in question
  195.  
  196.  timeout_event
  197.     timestamp        Now (really, when the timeout was signalled)
  198.     function        The elisp function to call for this timeout.  It is
  199.                 called with one argument, the event.
  200.     object        Some lisp object associated with this timeout, to
  201.                 make it easier to tell them apart.
  202.  
  203.  eval_event
  204.     timestamp        When it happened.
  205.     function        An elisp function to call with this event object.
  206.     object        Anything.
  207.             This kind of event is used internally; sometimes the
  208.             window system interface would like to inform Emacs of
  209.             some user action (such as focusing on another screen)
  210.             but needs that to happen synchronously with the other
  211.             user input, like keypresses.
  212.  
  213.  menu_event
  214.     timestamp        When it happened.
  215.     function        An elisp function to call with this event object.
  216.     object        Anything.
  217.             This is similar to an eval_event, except that it is
  218.             generated by selections in the menubar.  It is a
  219.             "command" event, like key and mouse presses (and 
  220.             unlike mouse motion, process output, and enter and
  221.             leave window hooks.)  In many ways, eval_events are
  222.             not the same as key- or menu-events.
  223.  
  224.  magic_event
  225.             No user-serviceable parts within.  This is for things
  226.             like KeymapNotify and ExposeRegion events and so on
  227.             that Emacs itself doesn't care about, but which it
  228.             must do something with for proper interaction with
  229.             the window system.
  230.  
  231.             Magic_events are handled somewhat asynchronously, just
  232.             like subprocess filters.  However, occasionally a 
  233.             magic_event needs to be handled synchronously; in that
  234.             case, the asynchronous handling of the magic_event will
  235.             push an eval_event back onto the queue, which will be 
  236.             handled synchronously later.  This is why eval_events
  237.             exist.
  238.  
  239. The function `next-event' blocks and returns one of the above-described 
  240. event objects.  The function `dispatch-event' takes an event  and processes
  241. it in the appropriate way.
  242.  
  243. For a process-event, dispatch-event calls the process's handler; for a
  244. mouse-motion event, the mouse-motion-handler hook is called, and so on.
  245. For magic-events, dispatch-event does window-system-dependent things,
  246. including calling some non-window-system-dependent hooks: map-screen-hook,
  247. unmap-screen-hook, mouse-enter-screen-hook, and mouse-leave-screen-hook.
  248.  
  249. The function `next-command-event' calls `next-event' until it gets a key 
  250. or button from the user (that is, not a process, motion, timeout, or 
  251. magic event).  If it gets an event that is not a key or button, it calls
  252. `dispatch-event' on it immediately and reads another one.  The
  253. next-command-event function could be implemented in elisp, though it isn't.
  254.  
  255. Read-char calls next-command-event; if it doesn't get an event that can be
  256. converted to an ASCII character, it signals an error.  Otherwise it returns
  257. an integer.
  258.  
  259. The variable `last-command-char' always contains an integer, or nil (if the
  260. last read event has no ASCII equivalent, as when it is a mouse-click or a
  261. non-ASCII character chord.)
  262.  
  263. The new variable `last-command-event' holds an event object, that could be
  264. a non-ASCII character, a button click, a menu selection, etc.
  265.  
  266. The variable `unread-command-char' no longer exists, and has been replaced
  267. by `unread-command-event'.  With the new event model, it is incorrect for
  268. code to do (setq unread-command-char (read-char)), because all user-input
  269. can't be represented as ASCII characters.  *** This is an incompatible 
  270. change.  Code which sets `unread-command-char' must be updated to use the
  271. combination of `next-command-event' and `unread-command-event' instead.
  272.  
  273. The functions `this-command-keys' and `recent-keys' return a vector of
  274. event objects, instead of a string of ASCII characters.  *** This also
  275. is an incompatible change.
  276.  
  277. Almost nothing happens at interrupt level; the SIGIO handler only looks at
  278. the X event queue for KeyPress events which map to ^G, and sets `quit-flag'
  279. when appropriate.  All redisplay happens in the main thread of the process.
  280.  
  281. We envision the dumb-tty handler functions doing function-key handling at
  282. the lowest level.  So the terminal-specific code would set up some data
  283. structure that would cause the key sequences that some ttys generate for
  284. function keys to be converted to 'f1 and so on before next-event saw them.
  285. We haven't implemented dumb-tty handling yet, but we will soon.
  286.  
  287.  
  288. Keymaps
  289. =======
  290.  
  291. Instead of keymaps being alists or obarrays, they are a new primary data
  292. type.  The only user access to the contents of a keymap is through the
  293. existing keymap-manipulation functions, and a new function, map-keymap.
  294. *** This means that existing code that manipulates keymaps may need to 
  295. be changed.
  296.  
  297. One of our goals with the new input and keymap code was to make more
  298. character combinations available for binding, besides just ASCII and
  299. function keys.  We want to be able bind different commands to Control-a 
  300. and Control-Shift-a; we also want it to be possible for the keys Control-h
  301. and Backspace (and Control-M and Return, and Control-I and Tab, etc) to
  302. be distinct.
  303.  
  304. One of the most common complaints that new Emacs users have is that backspace
  305. is help.  The answer is to play around with the keyboard-translate-table, or
  306. be lucky enough to have a system administrator who has done this for you
  307. already; but if it were possible to bind backspace and C-h to different
  308. things, then (under a window manager at least) both backspace and delete
  309. would delete a character, and ^H would be help.  There's no need to deal 
  310. with xmodmap, kbd-translate-table, etc.
  311.  
  312. Here are some more examples: suppose you want to bind one function to Tab, 
  313. and another to Control-Tab.  This can't be done if Tab and Control-I are the
  314. same thing.  What about control keys that have no ASCII equivalent, like
  315. Control-< ?  One might want that to be bound to set-mark-at-point-min.  We
  316. want M-C-Backspace to be kill-backward-sexp.  But we want M-Backspace to be
  317. kill-backward-word.  Again, this can't be done if Backspace and C-h are
  318. indistinguishable.
  319.  
  320. The user represents keys as a string of ASCII characters (when possible and
  321. convenient), or as a vector of event objects, or as a vector of "key 
  322. description lists", that looks like (control a), or (control meta delete) 
  323. or (shift f1).  The order of the modifier-names is not significant, so
  324. (meta control x) and (control meta x) are the same.
  325.  
  326. Define-key knows how to take any of the above representations and store them
  327. into a keymap.  When Emacs wants to return a key sequence (this-command-keys,
  328. recent-keys, keyboard-macros, and read-key-sequence, for example) it returns
  329. a vector of event objects.  Keyboard macros can also be represented as ASCII
  330. strings or as vectors of key description lists.  
  331.  
  332. *** This is an incompatible change: code which calls this-command-keys,
  333. recent-keys, read-key-sequence, or manipulates keyboard-macros probably
  334. needs to be changed so that it no longer assumes that the returned value
  335. is a string.
  336.  
  337. Control-Shift-a is specified as (control A), not (control shift a), since A
  338. is a two-case character.  But for keys that don't have an upper case
  339. version, like F1, Backspace, and Escape, you use the (shift backspace) syntax.
  340.  
  341. See the docstring for our version of define-key, reproduced below in the
  342. `Changed Functions' section.  Note that when the KEYS argument is a string,
  343. it has the same semantics as the v18 define-key.
  344.  
  345.  
  346. Xt Integration
  347. ==============
  348.  
  349. The heart of the event loop is implemented in terms of the XtNextEvent,
  350. and uses Xt's concept of timeouts and file-descriptor callbacks,
  351. eliminating a large amount of system-dependent code (Xt does it for you.)
  352.  
  353. If Emacs is compiled with support for X, we plan to have it use the Xt
  354. event loop even when Emacs is not running on an X display (the Xt event
  355. loop supports this.)  This will make it possible to run Emacs on a dumb
  356. tty, and later connect it to one or more X servers.  We hope also to make
  357. it possible to later connect an existing Emacs process to additional ttys.
  358. (Our intent at this point is not to have an Emacs that is being used by
  359. multiple people at the same time: it is to make it possible for someone to
  360. go home, log in on a dialup line, and connect to the same Emacs process
  361. that is running under X in their office without having to recreate their
  362. buffer state and so on.)
  363.  
  364. If Emacs is not compiled with support for X, then it will instead use
  365. more general code, something like what v18 does; but this way of doing
  366. things is a lot more modular.
  367.  
  368. (Linking Emacs with Xt seems to only add about 300k to the executable size,
  369. compared with an Emacs linked with Xlib only.)
  370.  
  371.  
  372. X Selections
  373. ============
  374.  
  375. We have reimplemented X Selection handling to be more general than before.
  376. Almost all of it is implemented in emacs-lisp now, so it's possible to 
  377. define new selection data types without having to recompile Emacs.
  378.  
  379. variable selection-converter-alist:
  380. An alist associating selection-types (such as STRING and TIMESTAMP) with
  381. functions.  These functions will be called with three args: the name of the
  382. selection (typically PRIMARY, SECONDARY, or CLIPBOARD); a desired type to
  383. which the selection should be converted; and the local selection value
  384. (whatever had been passed to `x-own-selection').  These functions should
  385. return the value to send to the X server (typically a string).  A return
  386. value of nil means that the conversion could not be done.  A return value
  387. that is the symbol NULL means that a side-effect was executed, and there
  388. is no meaningful return value.
  389.  
  390. variable x-lost-selection-hooks:
  391. A function or functions to be called after the X server has notified us
  392. that Emacs has lost the selection.  The function(s) will be called with one
  393. argument, a symbol naming the selection (typically PRIMARY, SECONDARY, or
  394. CLIPBOARD.)
  395.  
  396. variable x-sent-selection-hooks:
  397. A function or functions to be called after Emacs has responded to some
  398. other client's request for the value of a selection that we own.  The
  399. function(s) will be called with four arguments:
  400.   - the name of the selection (typically PRIMARY, SECONDARY, or CLIPBOARD);
  401.   - the name of the selection-type that we were requested to convert the
  402.     selection into before sending (for example, STRING or LENGTH);
  403.   - and whether we successfully transmitted the selection.
  404. We might have failed (and declined the request) for any number of reasons,
  405. including being asked for a selection that we no longer own, or being asked
  406. to convert into a type that we don't know about or that is inappropriate.
  407. This hook doesn't let you change the behavior of Emacs's selection replies,
  408. it merely informs you that they have happened.
  409.  
  410. subr x-own-selection-internal:
  411. Assert an X selection of the given TYPE with the given VALUE.
  412. TYPE is a symbol, typically PRIMARY, SECONDARY, or CLIPBOARD.
  413. VALUE is typically a string, or a cons of two markers, but may be
  414. anything that the functions on selection-converter-alist know about.
  415.  
  416. subr x-get-selection-internal:
  417. Return text selected from some X window.
  418. SELECTION is a symbol, typically PRIMARY, SECONDARY, or CLIPBOARD.
  419. TYPE is the type of data desired, typically STRING.
  420.  
  421. If this process is already the selection owner, then our local copy will
  422. be returned without a round-trip to the X server.  If we are not the owner,
  423. then this will block until all of the data has arrived from the server.
  424. Process and timeout events will be handled while we are waiting for the 
  425. selection data to arrive; ^G will interrupt the transfer.
  426.  
  427. subr x-disown-selection-internal:
  428. If we own the named selection, then disown it (make there be no selection).
  429.  
  430.  
  431. Given the above functions, the lisp side of the selection code looks like this:
  432.  
  433. (defun x-get-selection ()
  434.   "Return text selected from some X window."
  435.   (x-get-selection-internal 'PRIMARY 'STRING))
  436.  
  437. ...
  438. (setq selection-converter-alist
  439.       '((STRING . xselect-convert-to-string)
  440.     (LENGTH . xselect-convert-to-length)
  441.         ... lots of others, like TARGETS, DELETE, FILE_NAME, LINE_NUMBER...
  442.     ))
  443.  
  444. (defun xselect-convert-to-string (selection type value)
  445.   (cond ((stringp value)
  446.      value)
  447.     ((and (consp value)
  448.           (markerp (car value))
  449.           (markerp (cdr value)))
  450.      (or (eq (marker-buffer (car value)) (marker-buffer (cdr value)))
  451.          (signal 'error
  452.              (list "markers must be in the same buffer"
  453.                (car value) (cdr value))))
  454.      (save-excursion
  455.        (set-buffer (or (marker-buffer (car value))
  456.                (error "selection is in a killed buffer")))
  457.        (buffer-substring (car value) (cdr value))))
  458.     (t nil)))
  459.  
  460. (defun xselect-convert-to-length (selection type value)
  461.   (let ((value
  462.      (cond ((stringp value)
  463.         (length value))
  464.            ((and (consp value)
  465.              (markerp (car value))
  466.              (markerp (cdr value)))
  467.         (or (eq(marker-buffer (car value)) (marker-buffer (cdr value)))
  468.             (signal 'error
  469.                 (list "markers must be in the same buffer"
  470.                   (car value) (cdr value))))
  471.         (abs (- (car value) (cdr value)))))))
  472.     (if value
  473.     ;; force it to be in 32-bit format.  If we just returned a small int,
  474.         ;; the C side of the selection code would use a 16-bit representation
  475.     ;; for it, which is wrong in this case.  Returning a cons of two
  476.     ;; 16 bit ints causes a 32-bit int to be sent to the server instead.
  477.     (cons (ash value -16) (logand value 65535))
  478.       nil)))
  479.  
  480.  
  481. The functions on the selection-converter-alist are called from the
  482. "magic-event" handler, which is called from Fdispatch_event; this means that
  483. selection handling happens exactly the same as process-callbacks, instead
  484. of happening at interrupt level (which caused problems.)
  485.  
  486. There are also functions for reading and writing the cut-buffers, for
  487. emacs19/emacs18 compatibility.
  488.  
  489. We used all-upper-case symbols like 'PRIMARY and 'STRING so that there is
  490. a 1:1 mapping between symbols and X Atoms.  This is a little tasteless,
  491. but we think it's the closest-to-right thing.
  492.  
  493.  
  494. Region Highlighting
  495. ===================
  496.  
  497. If the variable `zmacs-regions' is true, then the region between point and
  498. mark will be highlighted when "active".  Those commands which push a mark
  499. (such as C-SPC, and ^X^X) make the region become "active" and thus
  500. highlighted.  Most commands (all non-motion commands, basically) cause it to
  501. become non-highlighted (non-"active").  Commands that operate on the region
  502. (such as ^W, ^X^L, etc) only work if the region is in the highlighted state.
  503.  
  504. zmacs-activate-region-hook and zmacs-deactivate-region-hook are run at the
  505. appropriate times; under X, zmacs-activate-region-hook makes the X selection
  506. be the region between point and mark, thus doing two things at once: making
  507. the region and the X selection be the same; and making the region highlight
  508. in the same way as the X selection.
  509.  
  510. mark-marker: subr
  511. Return this buffer's mark, as a marker object.
  512. If `zmacs-regions' is true, then this returns nil unless the region is
  513. currently in the active (highlighted) state.  With an argument of t, this
  514. returns the mark (if there is one) regardless of the active-region state.
  515. You should *generally* not use the mark unless the region is active, if
  516. the user has expressed a preference for the active-region model.
  517. Watch out!  Moving this marker changes the mark position.
  518. If you set the marker not to point anywhere, the buffer will have no mark.
  519.  
  520. In this way, the primary selection is a fairly transitory entity; but
  521. when something is copied to the kill ring, it is made the Clipboard
  522. selection.  It is also stored into CUT_BUFFER0, for compatibility with
  523. X applications that don't understand selections (like Emacs18).
  524.  
  525. *** Compatibility note: if you have code which uses (mark) or (mark-marker),
  526. then you need to either: change those calls to (mark t) or (mark-marker t);
  527. or simply bind `zmacs-regions' to nil around the call to mark or mark-marker.
  528. This is probably the best solution, since it will work in Emacs18 as well.
  529.  
  530.  
  531. Menubars and Dialog Boxes
  532. =========================
  533.  
  534. Here is an example of a menubar definition:
  535.  
  536. (defvar default-menubar
  537.   '(("File"    ["New Screen"        x-new-screen        t]
  538.         ["Open File..."        find-file        t]
  539.         ["Save Buffer"        save-buffer        t]
  540.         ["Save Buffer As..."    write-file        t]
  541.         ["Revert Buffer"    revert-buffer        t]
  542.         "-----"
  543.         ["Print Buffer"        lpr-buffer        t]
  544.         "-----"
  545.         ["Delete Screen"    delete-screen        t]
  546.         ["Kill Buffer..."    kill-buffer        t]
  547.         ["Exit Emacs"        save-buffers-kill-emacs    t]
  548.         )
  549.     ("Edit"    ["Undo"            advertised-undo        t]
  550.         ["Cut"            kill-primary-selection    t]
  551.         ["Copy"            copy-primary-selection    t]
  552.         ["Paste"        yank-clipboard-selection t]
  553.         ["Clear"        delete-primary-selection t]
  554.         )
  555.     ...))
  556.  
  557. The first element of each menu item is the string to print on the menu.
  558.  
  559. The second element is the callback function; if it is a symbol, it is
  560. invoked with `call-interactively.'  If it is a list, it is invoked with
  561. `eval'.  
  562.  
  563. If the second element is a symbol, then the menu also displays the key that
  564. is bound to that command (if any).
  565.  
  566. The third element of the menu items determines whether the item is selectable.
  567. A hook is run just before a menu is exposed, which can be used to change this.
  568. For example, there is a hook that makes the "undo" menu item be selectable
  569. only in the cases when `advertised-undo' would not signal an error.
  570.  
  571. Menus may have other menus nested within them; they will cascade.
  572.  
  573. There are utility functions for adding items to menus, deleting items,
  574. disabling them, etc.
  575.  
  576. The function `popup-menu' takes a menu description and pops it up.  
  577.  
  578. The function `popup-dialog-box' takes a dialog-box description and pops 
  579. it up.  Dialog box descriptions look a lot like menu descriptions.
  580. (*** note: we aren't completely finished implementing this yet.)
  581.  
  582. The menubar, menu, and dialog-box code is implemented as a library, 
  583. with an interface which hides the toolkit that implements it.  
  584.  
  585.  
  586. Isearch Changes
  587. ===============
  588.  
  589. Isearch has been reimplemented in a different way, adding some new features,
  590. and causing a few incompatible changes.
  591.  
  592.  -  the old isearch-*-char variables are no longer supported.  In the old
  593.     system, one could make ^A mean "repeat the search" by doing something
  594.     like (setq search-repeat-char ?C-a).  In the new system, this is 
  595.     accomplished with 
  596.  
  597.        (define-key isearch-mode-map "\C-a" 'isearch-repeat-forward)
  598.  
  599.  -  The advantage of using the normal keymap mechanism for this is that you
  600.     can bind more than one key to an isearch command: for example, both C-a
  601.     and C-s could do the same thing inside isearch mode.  You can also bind
  602.     multi-key sequences inside of isearch mode, and bind non-ASCII keys.
  603.     For example, to use the F1 key to terminate a search:
  604.  
  605.        (define-key isearch-mode-map 'f1 'isearch-exit)
  606.  
  607.     or to make ``C-c C-c'' terminate a search:
  608.  
  609.        (define-key isearch-mode-map "\C-c\C-c" 'isearch-exit)
  610.  
  611.  -  If isearch is behaving case-insensitively (the default) and you type an
  612.     upper case character, then the search will become case-sensitive.  This
  613.     can be disabled by setting `search-caps-disable-folding' to nil.
  614.  
  615.  -  There is a history ring of the strings previously searched for; typing
  616.     M-p or M-n while searching will cycle through this ring.  Typing M-TAB
  617.     will do completion across the set of items in the history ring.
  618.  
  619.  -  The ESC key is no longer used to terminate an incremental search.  The
  620.     RET key should be used instead.  This change is necessary for it to be
  621.     possible to bind "meta" characters to isearch commands.  (This change
  622.     will be in FSF's v19 as well.)
  623.  
  624.  
  625. Startup Code Changes
  626. ====================
  627.  
  628. The initial X screen is mapped before the user's .emacs file is executed.
  629. Without this, there is no way for the user to see any error messages
  630. generated by their .emacs file, any windows created by the .emacs file
  631. don't show up, and the copyleft notice isn't shown.
  632.  
  633. The default values for load-path, exec-path, lock-directory, and
  634. Info-directory-list are not (necessarily) built into Emacs, but are
  635. computed at startup time.  
  636.  
  637. First, Emacs looks at the directory in which its executable file resides:
  638.  
  639.   o  If that directory contains subdirectories named "lisp" and "etc", then
  640.      those directories are used as the lisp library and exec directory.
  641.  
  642.   o  If the parent of the directory in which the emacs executable is located
  643.      contains "lisp" and "etc" subdirectories, then those are used.
  644.  
  645.   o  If the emacs executable that was run is a symbolic link, then the link
  646.      is chased, and the resultant directory is checked as above.
  647.  
  648. (Actually, it doesn't just look for "lisp/", it looks for "lisp/prim/",
  649. which reduces the chances of a false positive.)
  650.  
  651. Finally, if the lisp directory contains subdirectories, they are added to
  652. the default load-path as well.  Subdirectories whose names begin with a dot
  653. or a hyphen are not added to the load-path.
  654.  
  655. These heuristics fail if the Emacs binary was copied from the main Emacs
  656. tree to some other directory, and links for the lisp directory were not put
  657. in.  This isn't much of a restriction: either make there be subdirectories
  658. (or symbolic links) of the directory of the emacs executable, or make the
  659. "installed" emacs executable be a symbolic link to an executable in a more
  660. appropriate directory structure.  For example, this setup works:
  661.  
  662.     /usr/local/lemacs/lemacs*        ; The executable.
  663.     /usr/local/lemacs/lisp/        ; The associated directories.
  664.     /usr/local/lemacs/etc/        ; Any of the files in this list
  665.     /usr/local/lemacs/lock/        ; could be symbolic links as well.
  666.     /usr/local/lemacs/info/
  667.  
  668. As does this:
  669.  
  670.     /usr/local/bin/lemacs -> ../lemacs/src/lemacs-19.4    ; A link...
  671.     /usr/local/lemacs/src/lemacs-19.4*            ; The executable,
  672.     /usr/local/lemacs/lisp/                ; and the rest of
  673.     /usr/local/lemacs/etc/                ; the the source
  674.     /usr/local/lemacs/lock/                ; tree.
  675.     /usr/local/lemacs/info/
  676.  
  677. This configuration might be used for a multi-architecture installation; assume
  678. that $LOCAL refers to a directory which contains only files specific to a 
  679. particular architecture (i.e., executables) and $SHARED refers to those files 
  680. which are not machine specific (i.e., lisp code and documentation.)
  681.  
  682.     $LOCAL/bin/lemacs@ -> $LOCAL/lemacs-19.4/lemacs*
  683.     $LOCAL/lemacs-19.4/lisp@ -> $SHARED/lemacs-19.4/lisp/
  684.     $LOCAL/lemacs-19.4/etc@  -> $SHARED/lemacs-19.4/etc/
  685.     $LOCAL/lemacs-19.4/info@ -> $SHARED/lemacs-19.4/info/
  686.  
  687. The following would also work, but the above is probably more attractive:
  688.  
  689.     $LOCAL/bin/lemacs*
  690.     $LOCAL/bin/lisp@ -> $SHARED/lemacs-19.4/lisp/
  691.     $LOCAL/bin/etc@  -> $SHARED/lemacs-19.4/etc/
  692.     $LOCAL/bin/info@ -> $SHARED/lemacs-19.4/info/
  693.  
  694. If Emacs can't find the requisite directories, it writes a message like this
  695. (or some appropriate subset of it) to stderr:
  696.  
  697.   WARNING:
  698.   couldn't find an obvious default for load-path, exec-directory, and
  699.   lock-directory, and there were no defaults specified in paths.h when
  700.   Emacs was built.  Perhaps some directories don't exist, or the Emacs
  701.   executable, /cadillac-th/jwz/somewhere/lemacs is in a strange place?
  702.  
  703.   Without both exec-directory and load-path, Emacs will be very broken.
  704.   Consider making a symbolic link from /cadillac-th/jwz/somewhere/etc
  705.   to wherever the appropriate Emacs etc/ directory is, and from
  706.   /cadillac-th/jwz/somewhere/lisp/ to wherever the appropriate Emacs
  707.   lisp library is.
  708.  
  709.   Without lock-directory set, file locking won't work.  Consider
  710.   creating /cadillac-th/jwz/somewhere/lock as a directory or symbolic
  711.   link for use as the lock directory.
  712.  
  713.  
  714. X Resources
  715. ===========
  716.  
  717. The Emacs resources are generally per-screen.  Each Emacs screen can have its
  718. own name, or the same name as another, depending on the name passed to the
  719. x-create-screen function.  
  720.  
  721. You can specify resources for all screens with the syntax
  722.  
  723.     Emacs*parameter: value
  724. or
  725.     Emacs.EmacsScreen*parameter: value
  726.  
  727. You can specify resources for a particular screen with the syntax
  728.  
  729.     Emacs.SCREEN-NAME*parameter: value
  730.  
  731.  
  732. To make the default size of all emacs be 80 columns by 55 lines, do this:
  733.  
  734.     Emacs*EmacsScreen.geometry: 80x55
  735.  
  736. As a special case, this geometry specification also works:
  737.  
  738.     Emacs.geometry: 80x55
  739.  
  740. since that is the syntax used with most other applications (since most other
  741. applications, unlike emacs, have only one top-level window.)  In general,
  742. however, the top-level shell doesn't have any interesting resources on it,
  743. and you should set the resources on the screens instead.
  744.  
  745. To set the geometry of a particular screen named, "foo", do this:
  746.  
  747.     Emacs*foo.geometry: 80x55
  748.  
  749. In particular, do --NOT-- use this syntax:
  750.  
  751.     Emacs*geometry: 80x55
  752.  
  753. One should never use "*geometry" with any X application.  It does not say
  754. "make the geometry of emacs be 80 columns by 55 lines."  It really says,
  755. "make emacs and all subwindows thereof be 80x35 in whatever units they care
  756. to measure in."  In particular, that is both telling the emacs text pane
  757. to be 80x55 in characters, and telling the menubar pane to be 80x55 pixels,
  758. which is surely not what you want.
  759.  
  760. The "-geometry" command-line argument sets the geometry only of the initial
  761. screen created by emacs.
  762.  
  763.  
  764. Emacs screens accept the following resources:
  765.  
  766.   iconic (class Iconic): boolean
  767.  
  768.     Whether the initial window should appear in the iconified state.
  769.  
  770.   internalBorderWidth (class InternalBorderWidth): int
  771.  
  772.     How many blank pixels to leave between the text and the edge of the
  773.     window.
  774.  
  775.   interline (class Interline): int
  776.  
  777.     How many pixels to leave between each line.
  778.  
  779.   cursorColor (class CursorColor): color
  780.  
  781.     The color of the text cursor.
  782.  
  783.   textPointer (class Cursor): cursor-name
  784.  
  785.     The cursor to use when the mouse is over text.  This resource is
  786.     used to initialize the variable `x-pointer-shape'.
  787.  
  788.   spacePointer (class Cursor): cursor-name
  789.  
  790.     The cursor to use when the mouse is over a blank space in a buffer
  791.     (that is, after the end of a line or after the end-of-file).  This
  792.     resource is used to initialize the variable `x-nontext-pointer-shape'.
  793.  
  794.   modePointer (class Cursor): cursor-name
  795.  
  796.     The cursor to use when the mouse is over a modeline.  This resource
  797.     is used to initialize the variable `x-mode-pointer-shape'.
  798.  
  799.   gcPointer (class Cursor): cursor-name
  800.  
  801.     The cursor to display when a garbage-collection is in progress.  This
  802.     resource is used to initialize the variable `x-gc-pointer-shape'.
  803.  
  804.   pointerColor (class Foreground): color-name
  805.  
  806.     The foreground and background colors of the mouse cursors.  
  807.     These resources are used to initialize the variables 
  808.     `x-pointer-foreground-color' and `x-pointer-background-color'.
  809.  
  810.  
  811. The attributes of faces are also per-screen.  They may be specified as
  812.  
  813.     Emacs*FACE_NAME.parameter: value
  814. or
  815.     Emacs.SCREEN_NAME.FACE_NAME.parameter: value
  816.  
  817. Faces accept the following resources:
  818.  
  819.   attributeFont (class AttributeFont): font-name
  820.  
  821.     The font of this face.
  822.  
  823.   attributeForeground (class AttributeForeground): color-name
  824.   attributeBackground (class AttributeBackground): color-name
  825.  
  826.     The foreground and background colors of this face.
  827.  
  828.   attributeBackgroundPixmap (class attributeBackgroundPixmap): file-name
  829.  
  830.     The name of an XBM file, to use as a background stipple.
  831.  
  832.   attributeUnderline (class AttributeUnderline): boolean
  833.  
  834.     Whether text in this face should be underlined.
  835.  
  836. All text is displayed in some face, defaulting to the face named "default".
  837. So to set the font of normal text, use "Emacs*default.attributeFont".
  838. To set it in the screen named "foo", use "Emacs*foo*default.attributeFont".
  839.  
  840. These are the names of the predefined faces:
  841.  
  842.     default            Everything inherits from this.
  843.  
  844.     highlight        This is used to highlight certain extents 
  845.                 when the mouse passes over them.
  846.  
  847.     bold            If this is not specified in the resource
  848.                 database, Emacs tries to find a "bold" 
  849.                 version of the font of the "default" face.
  850.  
  851.     italic            ditto.
  852.  
  853.     bold-italic        ditto.
  854.  
  855.     primary-selection    This is the face that mouse-selections are
  856.                 displayed in.
  857.  
  858.     isearch            This is the face that the matched text being
  859.                 searched for is displayed in.
  860.  
  861.     info-node        This is the face of info menu items.  If
  862.                 unspecified, it is copied from "bold-italic".
  863.  
  864.     info-xref        This is the face of info cross-references.
  865.                 If unspecified, it is copied from "bold".
  866.  
  867. Other packages might define their own faces; to see a list of all faces, use
  868. any of the interactive face-manipulation commands such as `set-face-font') and
  869. type `?' when you are prompted for the name of a face.
  870.  
  871. If the bold, italic, and bold-italic faces are not specified in the resource
  872. database, then emacs attempts to derive them from the font of the default face.
  873. It can only succeed at this if you have specified the default font using the
  874. XLFD (X Logical Font Description) format, which looks like
  875.  
  876.     *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
  877.  
  878. if you use any of the other, less strict font name formats, some of which
  879. look like
  880.         lucidasanstypewriter-12
  881. and        fixed
  882. and        9x13
  883.  
  884. then emacs won't be able to guess the names of the bold and italic versions.
  885. All X fonts can be referred to via XLFD-style names, so you should use those
  886. forms.  See the man pages for X(1), xlsfonts(1), and xfontsel(1).
  887.  
  888.  
  889. Known Problems / TODO List
  890. ==========================
  891.  
  892. Horizontally-split windows don't work.  Selective-display doesn't work.
  893. Display tables don't work.  Horizontal scrolling doesn't work.  We plan to
  894. do some extensive work on redisplay soon, which will likely fix all of this.
  895.  
  896. Most of the `screen-parameters' don't work.  I'm not convinced that the
  897. screen-parameters/modify-screen-parameters functions are the best interface
  898. anyway.
  899.  
  900. The Motif-like menubar that xlwmenu.c defines should use the same resources
  901. that real Motif menubars use (as much as possible, anyway.)
  902.  
  903. Faces should be able to have cursors associated with them.
  904.  
  905. The `mouse-motion-hook' should be called whenever a buffer scrolls or the
  906. sizes of windows change, so that it can correctly frob the mouse-cursor based
  907. on the text that the mouse is now over.
  908.  
  909. Everybody wants scrollbars.  They should be implemented in lwlib.a, so that
  910. they are toolkit-independent (that is, when the user has Motif, emacs should
  911. use Motif scrollbars; likewise for OLIT.)  There should be one scrollbar per
  912. emacs window, *not* one scrollbar per emacs screen.  The easiest way to do 
  913. this would be to make emacs windows be X windows which are inferiors of the
  914. X window corresponding to the emacs screen.  There would then be an intermediate
  915. horizontally-stacking RowColumn widget between the screen and the emacs window
  916. which was used to group the scrollbar and the emacs window together.
  917.  
  918. We need to implement a non-Xt event_stream, based on select() and/or timer
  919. signals, so that emacs can be *compiled* without support for X.  (Note that
  920. this is different than emacs *running* without X.)
  921.  
  922. It should be possible to open emacs screens on multiple X displays and 
  923. multiple dumb-ttys simultaneously.
  924.  
  925. It should be possible to have a process-filter-function that doesn't get 
  926. called with a string; rather, the output is simply put in a buffer.  This
  927. is like a process having both a buffer and a filter-function.  This would
  928. be a good thing because it would mean that a string need not be consed every
  929. time a process generated output, and yet you could be signalled that output
  930. had arrived.
  931.  
  932.  
  933. Miscellaneous Changes
  934. =====================
  935.  
  936. What follows is a semi-automatically generated list of the new functions and
  937. variables included with Lucid Emacs, and those functions and variables whose
  938. semantics have changed since Emacs 18.57.
  939.  
  940. New Functions:
  941. ==============
  942.  
  943. abbreviate-file-name (filename &optional hack-homedir)
  944. Return a version of FILENAME shortened using directory-abbrev-alist.
  945. See C-h v directory-abbrev-alist RET for more information.
  946. If optional argument HACK-HOMEDIR is non-nil, then This also substitutes
  947. "~" for the user's home directory."
  948.  
  949. ------------------------------
  950. abs (arg)
  951. Return the absolute value of ARG.
  952.  
  953. ------------------------------
  954. acos (arg)
  955. Return the inverse cosine of ARG.
  956.  
  957. ------------------------------
  958. asin (arg)
  959. Return the inverse sine of ARG.
  960.  
  961. ------------------------------
  962. atan (arg)
  963. Return the inverse tangent of ARG.
  964.  
  965. ------------------------------
  966. add-hook: (hook-var function &optional at-end)
  967.  
  968. Add a function to a hook.
  969. First argument HOOK-VAR (a symbol) is the name of a hook, second
  970.  argument FUNCTION is the function to add.
  971. Third (optional) argument AT-END means to add the function at the end
  972.  of the hook list instead of the beginning.  If the function is already
  973.  present, this has no effect.
  974. Returns nil if FUNCTION was already present in HOOK-VAR, else new
  975.  value of HOOK-VAR.
  976.  
  977. ------------------------------
  978. add-menu-item (menu-path item-name function enabled-p &optional before)
  979.  
  980. Add a menu item to some menu, creating the menu first if necessary.
  981. If the named item exists already, it is changed.
  982. MENU-PATH identifies the menu under which the new menu item should be inserted.
  983.  It is a list of strings; for example, ("File") names the top-level "File"
  984.  menu.  ("File" "Foo") names a hypothetical submenu of "File".
  985. ITEM-NAME is the string naming the menu item to be added.
  986. FUNCTION is the command to invoke when this menu item is selected.
  987.  If it is a symbol, then it is invoked with `call-interactively', in the same
  988.  way that functions bound to keys are invoked.  If it is a list, then the 
  989.  list is simply evaluated.
  990. ENABLED-P controls whether the item is selectable or not.
  991. BEFORE, if provided, is the name of a menu item before which this item should
  992.  be added, if this item is not on the menu already.  If the item is already
  993.  present, it will not be moved.
  994.  
  995. ------------------------------
  996. add-menu: (menu-path menu-name menu-items &optional before)
  997.  
  998. Add a menu to the menubar or one of its submenus.
  999. If the named menu exists already, it is changed.
  1000. MENU-PATH identifies the menu under which the new menu should be inserted.
  1001.  It is a list of strings; for example, ("File") names the top-level "File"
  1002.  menu.  ("File" "Foo") names a hypothetical submenu of "File".
  1003.  If MENU-PATH is nil, then the menu will be added to the menubar itself.
  1004. MENU-NAME is the string naming the menu to be added.
  1005. MENU-ITEMS is a list of menu item descriptions.
  1006.  Each menu item should be a vector of three elements:
  1007.    - a string, the name of the menu item;
  1008.    - a symbol naming a command, or a form to evaluate;
  1009.    - and t or nil, whether this item is selectable.
  1010. BEFORE, if provided, is the name of a menu before which this menu should
  1011.  be added, if this menu is not on its parent already.  If the menu is already
  1012.  present, it will not be moved.
  1013.  
  1014. ------------------------------
  1015. add-timeout (secs function object &optional resignal)
  1016.  
  1017. SECS is a number of seconds, expressed as an integer or a float.
  1018. FUNCTION will be called after that many seconds have elapsed, with one
  1019. argument, the given OBJECT.  If the optional RESIGNAL argument is provided,
  1020. then after this timeout expires, add-timeout will automatically be called
  1021. again with RESIGNAL as the first argument.
  1022.  
  1023. This function returns an object which is the id of this particular timeout.
  1024. You can pass that object to disable-timeout to turn off the timeout before
  1025. it has been signalled.
  1026.  
  1027. The number of seconds may be expressed as a floating-point number, in which
  1028. case some fractional part of a second will be used.  Caveat: the usable
  1029. timeout granularity will vary from system to system.
  1030.  
  1031. Adding a timeout causes a timeout event to be returned by next-event, and
  1032. the function will be invoked by dispatch-event, so if Emacs is in a tight
  1033. loop, the function will not be invoked until the next call to sit-for or
  1034. until the return to top-level (the same is true of process filters.)
  1035.  
  1036. ------------------------------
  1037. allocate-event ()
  1038.  
  1039. Returns an empty event structure.
  1040. WARNING, the event object returned may be a reused one; see the function
  1041. `deallocate-event'.
  1042.  
  1043. ------------------------------
  1044. backtrace-frame (nframes)
  1045.  
  1046. Return the function and arguments N frames up from current execution point.
  1047. If that frame has not evaluated the arguments yet (or is a special form),
  1048. the value is (nil FUNCTION ARG-FORMS...).
  1049. If that frame has evaluated its arguments and called its function already,
  1050. the value is (t FUNCTION ARG-VALUES...).
  1051. A &rest arg is represented as the tail of the list ARG-VALUES.
  1052. FUNCTION is whatever was supplied as car of evaluated list,
  1053. or a lambda expression for macro calls.
  1054. If N is more than the number of frames, the value is nil.
  1055.  
  1056. ------------------------------
  1057. buffer-list (&optional screen)
  1058.  
  1059. Return a list of all existing live buffers.
  1060. The order is specific to the selected screen; if the optional SCREEN
  1061. argument is provided, the ordering for that screen is returned instead.
  1062. If the SCREEN argument is t, then the global (non-screen) ordering is
  1063. returned instead.
  1064.  
  1065. ------------------------------
  1066. buffer-modified-tick (&optional buffer)
  1067.  
  1068. Return BUFFERs tick counter, incremented for each change in text.
  1069. Each buffer has a tick counter which is incremented each time the text in
  1070. that buffer is changed.  It wraps around occasionally.
  1071. No argument or nil as argument means use current buffer as BUFFER.
  1072.  
  1073. ------------------------------
  1074. button-press-event-p (obj)
  1075. True if the argument is a mouse-button-press event object.
  1076.  
  1077. ------------------------------
  1078. button-release-event-p (obj)
  1079. True if the argument is a mouse-button-release event object.
  1080.  
  1081. ------------------------------
  1082. byte-compile-and-load-file (filename)
  1083.  
  1084. Compile a file of Lisp code named FILENAME into a file of byte code,
  1085. and then load it.  The output files name is made by appending "c" to 
  1086. the end of FILENAME.
  1087.  
  1088. ------------------------------
  1089. byte-compile-buffer (&optional buffer)
  1090. Byte-compile and evaluate contents of BUFFER (default: the current buffer).
  1091.  
  1092. ------------------------------
  1093. byte-compiler-options (&rest args)
  1094.  
  1095. Set some compilation-parameters for this file.  This will affect only the
  1096. file in which it appears; this does nothing when evaluated, and when loaded
  1097. from a .el file.
  1098.  
  1099. Each argument to this macro must be a list of a key and a value.
  1100.  
  1101.   Keys:          Values:        Corresponding variable:
  1102.  
  1103.   verbose      t, nil        byte-compile-verbose
  1104.   optimize      t, nil, source, byte    byte-compile-optimize
  1105.   warnings      list of warnings    byte-compile-warnings
  1106.               Legal elements: (callargs redefine free-vars unresolved)
  1107.   file-format      emacs18, emacs19    byte-compile-emacs18-compatibility
  1108.   new-bytecodes      t, nil        byte-compile-generate-emacs19-bytecodes
  1109.  
  1110. For example, this might appear at the top of a source file:
  1111.  
  1112.     (byte-compiler-options
  1113.       (optimize t)
  1114.       (warnings (- free-vars))        ; Dont warn about free variables
  1115.       (file-format emacs19))
  1116.  
  1117. ------------------------------
  1118. case-table-p (table)
  1119. Return t iff ARG is a case table.
  1120. See set-case-table for more information on these data structures.
  1121.  
  1122. ------------------------------
  1123. ceiling (num)
  1124. Return the smallest integer no less than ARG.  (Round toward +inf.)
  1125.  
  1126. ------------------------------
  1127. character-to-event (ch &optional event)
  1128.  
  1129. Converts a numeric ASCII value to an event structure, replete with
  1130. bucky bits.  The character is the first argument, and the event to fill
  1131. in is the second.  This function contains knowledge about what the codes
  1132. mean -- for example, the number 9 is converted to the character Tab,
  1133. not the distinct character Control-I.
  1134.  
  1135. Beware that character-to-event and event-to-character are not strictly 
  1136. inverse functions, since events contain much more information than the 
  1137. ASCII character set can encode.
  1138.  
  1139. ------------------------------
  1140. clrhash (table)
  1141. Flush TABLE.
  1142.  
  1143. ------------------------------
  1144. compiled-function-p (obj)
  1145. T if OBJECT is a compiled function object (as returned by make-byte-code.)
  1146.  
  1147. ------------------------------
  1148. conx ()
  1149.  
  1150. Generate some random sentences in the *conx* buffer.
  1151. Output will be continuously generated until you type ^G.
  1152. Before running this function, you must snarf some text into the CONX 
  1153. database with the M-x conx-buffer or M-x conx-region commands.
  1154.  
  1155. ------------------------------
  1156. copy-event (event1 &optional event2)
  1157.  
  1158. Make a copy of the given event object.  If a second argument is given,
  1159. the first event is copied into the second and the second is returned.
  1160. If the second argument is not supplied (or is nil) then a new event will
  1161. be made as with `allocate-event.'  See also the function `deallocate-event'.
  1162.  
  1163. ------------------------------
  1164. copy-face (old-face new-name &optional screen)
  1165.  
  1166. Defines and returns a new face which is a copy of an existing one,
  1167. or makes an already-existing face be exactly like another.
  1168.  
  1169. ------------------------------
  1170. copy-tree (arg)
  1171.  
  1172. Return a copy of a list or vector, and substructures.
  1173. The argument is copied, and any lists or vectors contained within it
  1174. are copied recursively.  Circularities and shared substructures are
  1175. not preserved.  Strings are not copied.
  1176.  
  1177. ------------------------------
  1178. cos (arg)
  1179. Return the cosine of ARG.
  1180.  
  1181. ------------------------------
  1182. cosh (arg)
  1183. Return the hyperbolic cosine of ARG.
  1184.  
  1185. ------------------------------
  1186. current-case-table ()
  1187. Return the case table of the current buffer.
  1188.  
  1189. ------------------------------
  1190. current-time-seconds ()
  1191.  
  1192. Returns the current time as the number of seconds since Jan. 1, 1970, 00:00,
  1193. Greenwich Mean Time.  Since Emacs cant represent integers that large, this
  1194. is returned as a cons of two 16-bit numbers.  You can pass this value as an
  1195. argument to current-time-string to get that time as a string.
  1196.  
  1197. ------------------------------
  1198. deallocate-event (event)
  1199.  
  1200. Allow the given event structure to be reused.  You MUST NOT use this 
  1201. event object after calling this function with it.  You will lose.
  1202. It is not necessary to call this function, as event objects are garbage-
  1203. collected like all other objects; however, it may be more efficient to
  1204. explicitly deallocate events when you are sure that that is safe.
  1205.  
  1206. ------------------------------
  1207. default-directory ()
  1208.  
  1209. Usage like variable default-directory, but knows about the special
  1210. cases in variable default-directory-alist (which see).
  1211.  
  1212. ------------------------------
  1213. deiconify-screen (screen)
  1214. Open (de-iconify) the iconified screen SCREEN.
  1215.  
  1216. ------------------------------
  1217. delete-extent (extent)
  1218.  
  1219. Remove EXTENT from its buffer; this does not modify the buffer's text,
  1220. only its display properties.
  1221.  
  1222. ------------------------------
  1223. delete-menu-item (path)
  1224.  
  1225. Remove the named menu item from the menu hierarchy.
  1226. PATH is a list of strings which identify the position of the menu item in 
  1227. the menu hierarchy.  ("File" "Save") means the menu item called "Save"
  1228. under the toplevel "File" menu.  ("Menu" "Foo" "Item") means the 
  1229. menu item called "Item" under the "Foo" submenu of "Menu".
  1230.  
  1231. ------------------------------
  1232. delete-primary-selection ()
  1233.  
  1234. If there is a selection, delete the text it covers *without* copying it to
  1235. the kill ring or the Clipboard.
  1236.  
  1237. ------------------------------
  1238. delete-screen (&optional screen)
  1239.  
  1240. Delete SCREEN, permanently eliminating it from use.
  1241. Default is current screen.
  1242.  
  1243. ------------------------------
  1244. delete-window (&optional window)
  1245.  
  1246. Remove WINDOW from the display.  Default is selected window.
  1247. If window is the only one on the screen, the screen is destroyed.
  1248.  
  1249. ------------------------------
  1250. disable-menu-item (path)
  1251.  
  1252. Make the named menu item be unselectable.
  1253. PATH is a list of strings which identify the position of the menu item in 
  1254. the menu hierarchy.  ("File" "Save") means the menu item called "Save"
  1255. under the toplevel "File" menu.  ("Menu" "Foo" "Item") means the 
  1256. menu item called "Item" under the "Foo" submenu of "Menu".
  1257.  
  1258. ------------------------------
  1259. disable-timeout (id)
  1260.  
  1261. Given a timeout id number as returned by add-timeout, this function
  1262. will cause that timeout to not be signalled if it hasnt been already.
  1263.  
  1264. ------------------------------
  1265. elisp-compile-defun (&optional arg)
  1266.  
  1267. Compile and evaluate the current top-level form.
  1268. Print the result in the minibuffer.
  1269. With argument, insert value in current buffer after the form.
  1270.  
  1271. ------------------------------
  1272. enable-menu-item (path)
  1273.  
  1274. Make the named menu item be selectable.
  1275. PATH is a list of strings which identify the position of the menu item in 
  1276. the menu hierarchy.  ("File" "Save") means the menu item called "Save"
  1277. under the toplevel "File" menu.  ("Menu" "Foo" "Item") means the 
  1278. menu item called "Item" under the "Foo" submenu of "Menu".
  1279.  
  1280. ------------------------------
  1281. eval-and-compile (&rest body)
  1282. Like progn, but evaluates the body at compile-time as well as at load-time.
  1283.  
  1284. ------------------------------
  1285. eval-event-p (obj)
  1286. True if the argument is an eval or menu event object.
  1287.  
  1288. ------------------------------
  1289. eval-when-compile ()
  1290.  
  1291. Like progn, but evaluates the body at compile-time.  The result of the
  1292. body appears to the compiler as a quoted constant.
  1293.  
  1294. ------------------------------
  1295. event-button (event)
  1296.  
  1297. Returns the button-number of the given mouse-button-press event.
  1298.  
  1299. ------------------------------
  1300. event-function (event)
  1301. Returns the callback function of the given timeout, menu, or eval event.
  1302.  
  1303. ------------------------------
  1304. event-glyph (event)
  1305.  
  1306. If the given mouse-motion, button-press, or button-release event happened
  1307. on top of a glyph, this returns it; else nil.
  1308.  
  1309. ------------------------------
  1310. event-key (event)
  1311.  
  1312. Returns the KeySym of the given key-press event.  This will be the
  1313. ASCII code of a printing character, or a symbol.
  1314.  
  1315. ------------------------------
  1316. event-modifier-bits (event)
  1317.  
  1318. Returns a number representing the modifier keys which were down 
  1319. when the given mouse or keyboard event was produced.  See also the function
  1320. event-modifiers.
  1321.  
  1322. ------------------------------
  1323. event-modifiers (event)
  1324.  
  1325. Returns a list of symbols, the names of the modifier keys which 
  1326. were down when the given mouse or keyboard event was produced.
  1327. See also the function event-modifier-bits.
  1328.  
  1329. ------------------------------
  1330. event-object (event)
  1331.  
  1332. Returns the callback function argument of the given timeout, menu, or
  1333. eval event.
  1334.  
  1335. ------------------------------
  1336. event-point (event)
  1337.  
  1338. Returns the character position of the given mouse-motion, button-press,
  1339. or button-release event.  If the event did not occur over a window, or did
  1340. not occur over text, then this returns nil.  Otherwise, it returns an index
  1341. into the buffer visible in the events window.
  1342.  
  1343. ------------------------------
  1344. event-process (event)
  1345. Returns the process of the given proces-output event.
  1346.  
  1347. ------------------------------
  1348. event-timestamp (event)
  1349. Returns the timestamp of the given event object.
  1350.  
  1351. ------------------------------
  1352. event-to-character (event &optional lenient)
  1353.  
  1354. Returns the closest ASCII approximation to the given event object.
  1355. If the event isnt a keypress, this returns nil.
  1356. If the second argument is non-nil, then this is lenient in its 
  1357. translation; it will ignore modifier keys other than control and meta,
  1358. and will ignore the shift modifier on those characters which have no 
  1359. shifted ASCII equivalent (Control-Shift-A for example, will be mapped to 
  1360. the same ASCII code as Control-A.)  If the second arg is nil, then nil 
  1361. will be returned for events which have no direct ASCII equivalent.
  1362.  
  1363. ------------------------------
  1364. event-window (event)
  1365.  
  1366. Given a mouse motion, button press, or button release event, compute
  1367. and return the window on which that event occurred.  This may be nil if
  1368. the event did not occur in an Emacs window (in the border or modeline.)
  1369.  
  1370. ------------------------------
  1371. event-x (event)
  1372. Returns the X position of the given mouse-motion, button-press, or
  1373. button-release event in characters.
  1374.  
  1375. ------------------------------
  1376. event-x-pixel (event)
  1377. Returns the X position of the given mouse-motion, button-press, or
  1378. button-release event in pixels.
  1379.  
  1380. ------------------------------
  1381. event-y (event)
  1382. Returns the Y position of the given mouse-motion, button-press, or
  1383. button-release event in characters.
  1384.  
  1385. ------------------------------
  1386. event-y-pixel (event)
  1387. Returns the Y position of the given mouse-motion, button-press, or
  1388. button-release event in pixels.
  1389.  
  1390. ------------------------------
  1391. eventp (obj)
  1392. True if the argument is an event object.
  1393.  
  1394. ------------------------------
  1395. exp (arg)
  1396. Return the exponential base e of ARG.
  1397.  
  1398. ------------------------------
  1399. expt (x y)
  1400. Return the exponential x ** y.
  1401.  
  1402. ------------------------------
  1403. extent-at (pos &optional buffer flag)
  1404.  
  1405. Find "smallest" extent at POS in BUFFER having FLAG set.  BUFFER
  1406. defaults to the current buffer, FLAG defaults to nil, meaning that any
  1407. extent will do. Possible values for FLAG are nil, menu, highlight,
  1408. invisible, and write-protected. Returns nil if there is no matching
  1409. extent at POS.
  1410.  
  1411. ------------------------------
  1412. extent-attributes (extent_obj &optional raw_p)
  1413.  
  1414. Return a list of attributes of EXTENT.
  1415. This list may contain any or none of the following symbols:
  1416.  
  1417.     highlight        highlight when the mouse moves over it
  1418.     write-protected    text within this extent will be unmodifiable
  1419.     invisible        don't display the text in this region
  1420.     begin-glyph        there is a begin-glyph
  1421.     end-glyph        there is an end-glyph
  1422.     detached        the text around the extent has been deleted
  1423.  
  1424. ------------------------------
  1425. extent-buffer (extent_obj)
  1426. Return buffer of EXTENT.
  1427.  
  1428. ------------------------------
  1429. extent-data (extent)
  1430.  
  1431. Return the user data associated with the given extent.
  1432. Set this using the `set-extent-data' function.
  1433.  
  1434. ------------------------------
  1435. extent-end-position (extent)
  1436. Return first position after EXTENT.
  1437.  
  1438. ------------------------------
  1439. extent-face (extent)
  1440. Returns the name of the face in which EXTENT is displayed.
  1441.  
  1442. ------------------------------
  1443. extent-length (extent)
  1444. Return length of EXTENT in characters.
  1445.  
  1446. ------------------------------
  1447. extent-priority (extent)
  1448. Returns the display priority of EXTENT; see `set-extent-priority'.
  1449.  
  1450. ------------------------------
  1451. extent-start-position (extent)
  1452. Return start position of EXTENT.
  1453.  
  1454. ------------------------------
  1455. extentp (extent)
  1456. T if OBJECT is an extent..
  1457.  
  1458. ------------------------------
  1459. face-background (face &optional screen)
  1460. Returns the background color name of the given face, or nil if unspecified.
  1461.  
  1462. ------------------------------
  1463. face-background-pixmap (face &optional screen)
  1464. Returns the background pixmap name of the given face, or nil if unspecified.
  1465.  
  1466. ------------------------------
  1467. face-differs-from-default-p (face &optional screen)
  1468.  
  1469. True if the given face will display differently from the default face.
  1470. A face is considered to be ``the same'' as the default face if it is 
  1471. actually specified in the same way (equivalent fonts, etc) or if it is 
  1472. fully unspecified, and thus will inherit the attributes of any face it 
  1473. is displayed on top of.
  1474.  
  1475. ------------------------------
  1476. face-equal (face1 face2 &optional screen)
  1477. True if the given faces will display in the the same way.
  1478.  
  1479. ------------------------------
  1480. face-font (face &optional screen)
  1481. Returns the font name of the given face, or nil if it is unspecified.
  1482.  
  1483. ------------------------------
  1484. face-foreground (face &optional screen)
  1485. Returns the foreground color name of the given face, or nil if unspecified.
  1486.  
  1487. ------------------------------
  1488. face-id (face)
  1489. Returns the internal ID number of the given face.
  1490.  
  1491. ------------------------------
  1492. face-underline-p (face)
  1493. Returns whether the given face is underlined.
  1494.  
  1495. ------------------------------
  1496. fceiling (arg)
  1497. Return the smallest integer no less than ARG, as a float.
  1498. (Round toward +inf.)
  1499.  
  1500. ------------------------------
  1501. ffloor (arg)
  1502. Return the largest integer no greater than ARG, as a float.
  1503. (Round toward +inf.)
  1504.  
  1505. ------------------------------
  1506. fround (arg)
  1507. Return the nearest integer to ARG, as a float.
  1508.  
  1509. ------------------------------
  1510. ftruncate (arg)
  1511. Truncate a floating point number to an integral float value.
  1512. Rounds the value toward zero.
  1513.  
  1514. ------------------------------
  1515. file-executable-p (filename)
  1516. Return t if FILENAME can be executed by you.
  1517. For directories this means you can change to that directory.
  1518.  
  1519. ------------------------------
  1520. find-face (name &optional screen)
  1521.  
  1522. Retrieve the face of the given name.
  1523. If NAME is a symbol and SCREEN is provided, the face is looked up on
  1524. that screen; otherwise, the selected screen is used.
  1525. If there is no such face, returns nil.
  1526. If SCREEN is the symbol t, then the global, non-screen face is returned.
  1527. If NAME is already a face, it is simply returned.
  1528.  
  1529. ------------------------------
  1530. find-file-new-screen (filename)
  1531.  
  1532. Just like find-file, but creates a new screen for it first.
  1533.  
  1534. ------------------------------
  1535. find-this-file (fn)
  1536.  
  1537. Edit file FILENAME.
  1538. Switch to a buffer visiting file FILENAME, creating one if none already exists.
  1539.  
  1540. Interactively, with a prefix arg, calls filename-at-point.
  1541. Useful to edit the file mentioned in the buffer you are editing, or to
  1542. test if that file exists: use minibuffer completion after snatching the
  1543. name or part of it.
  1544.  
  1545. ------------------------------
  1546. find-this-file-other-window (fn)
  1547.  
  1548. Edit file FILENAME in other window.
  1549. Switch to a buffer visiting file FILENAME, creating one if none already exists.
  1550.  
  1551. Interactively, with a prefix arg, call filename-at-point.
  1552. Useful to edit the file mentioned in the buffer you are editing, or to
  1553. test if that file exists: use minibuffer completion after snatching the
  1554. name or part of it.
  1555.  
  1556. ------------------------------
  1557. float (arg)
  1558. Return the floating point number equal to ARG.
  1559.  
  1560. ------------------------------
  1561. floor (arg)
  1562. Return the largest integer no greater than ARG.  (Round towards -inf.)
  1563.  
  1564. ------------------------------
  1565. force-highlight-extent (extent &optional flag)
  1566.  
  1567. Highlight any EXTENT if FLAG is not nil, else unhighlight it.
  1568. This is the same as `highlight-extent', except that it will work even
  1569. on extents without the 'highlight property.
  1570.  
  1571. ------------------------------
  1572. get-face (name &optional screen)
  1573.  
  1574. Retrieve the face of the given name.
  1575. If NAME is a symbol and SCREEN is provided, the face is looked up on
  1576. that screen; otherwise, the selected screen is used.
  1577. If there is no such face, an error is signalled.  See also find-face.
  1578. If SCREEN is the symbol t, then the global, non-screen face is returned.
  1579. If NAME is already a face, it is simply returned.
  1580.  
  1581. ------------------------------
  1582. get-screen-for-buffer (buffer &optional ignored)
  1583.  
  1584. Select and return a screen in which to display BUFFER.
  1585. Normally, the buffer will simply be displayed in the current screen.
  1586. But if the symbol naming the major-mode of the buffer has a 'screen-name
  1587. property (which should be a symbol), then the buffer will be displayed in
  1588. a screen of that name.  If there is no screen of that name, then one is
  1589. created.  
  1590.  
  1591. If the major-mode doesn't have a 'screen-name property, then the screen
  1592. named by `get-screen-for-buffer-default-screen-name' will be used.  If
  1593. that is nil (the default) then the currently selected screen will used.
  1594.  
  1595. If the screen-name symbol has an 'instance-limit property (an integer)
  1596. then each time a buffer of the mode in question is displayed, a new screen
  1597. with that name will be created, until there are `instance-limit' of them.
  1598. If instance-limit is 0, then a new screen will be created each time.
  1599.  
  1600. If a buffer is already displayed in a screen, then `instance-limit' is 
  1601. ignored, and that screen is used.
  1602.  
  1603. If the screen-name symbol has a 'screen-defaults property, then that is
  1604. prepended to the `screen-default-alist' when creating a screen for the
  1605. first time.
  1606.  
  1607. This function may be used as the value of `pre-display-buffer-hook', to 
  1608. cause the display-buffer function and its callers to exhibit the above
  1609. behavior.
  1610.  
  1611. ------------------------------
  1612. gethash (obj table)
  1613. Find hashed value for OBJ in TABLE.
  1614.  
  1615. ------------------------------
  1616. hashtable-fullness (table)
  1617. Returns number of entries in TABLE.
  1618.  
  1619. ------------------------------
  1620. highlight-extent (extent &optional flag)
  1621.  
  1622. If EXTENT is `highlightable' (has the 'highlight property) then highlight
  1623. it (by using merging it with 'highlight face.)  If FLAG is nil, then
  1624. unhighlight it instead.
  1625.  
  1626. ------------------------------
  1627. iconify-screen (screen)
  1628. Make the screen SCREEN into an icon, if the window manager supports icons.
  1629.  
  1630. ------------------------------
  1631. invert-face (face &optional screen)
  1632.  
  1633. Swap the foreground and background colors of the given face.
  1634. If the face doesnt specify both foreground and background, then
  1635. its foreground and background are set to the background and
  1636. foreground of the default face.
  1637.  
  1638. ------------------------------
  1639. key-press-event-p (obj)
  1640. True if the argument is a key-press event object.
  1641.  
  1642. ------------------------------
  1643. keymap-parent (keymap)
  1644.  
  1645. Returns the parent keymap of the given keymap, or nil.
  1646. The parent of a keymap is searched for keybindings when a key sequence
  1647. isnt bound in this one.  The (current-global-map) is the default parent
  1648. of all keymaps.
  1649.  
  1650. ------------------------------
  1651. list-faces ()
  1652. Returns a list of the names of all of the defined faces.
  1653.  
  1654. ------------------------------
  1655. load-average ()
  1656.  
  1657. Return list of 1 minute, 5 minute and 15 minute load averages.
  1658. Each of the three load averages is multiplied by 100,
  1659. then converted to integer.
  1660.  
  1661. This won't work unless the Emacs executable is setgid kmem
  1662. (assuming that /dev/kmem is in the group kmem.)
  1663.  
  1664. ------------------------------
  1665. load-default-sounds ()
  1666.  
  1667. Load and install some sound files as beep-types.
  1668. This only works if youre on display 0 of a Sun SparcStation or SGI machine.
  1669.  
  1670. ------------------------------
  1671. load-sound-file (filename sound-name &optional volume)
  1672.  
  1673. Read in an audio-file and add it to the sound-alist.
  1674.  
  1675. You can only play sound files if you are running on display 0 of the console
  1676. of a Sun SparcStation or an SGI machine.  The sound file must be in the
  1677. Sun/NeXT U-LAW format.
  1678.  
  1679. ------------------------------
  1680. locate-library (library &optional nosuffix)
  1681.  
  1682. Show the full path name of Emacs library LIBRARY.
  1683. This command searches the directories in load-path like  M-x load-library
  1684. to find the file that  M-x load-library RET LIBRARY RET  would load.
  1685. Optional 2nd arg NOSUFFIX non-nil means dont add suffixes .elc or .el
  1686. to the specified name LIBRARY (a la calling load instead of load-library).
  1687.  
  1688. ------------------------------
  1689. log (arg)
  1690. Return the natural logarithm of ARG.
  1691.  
  1692. ------------------------------
  1693. log10 (arg)
  1694. Return the logarithm base 10 of ARG.
  1695.  
  1696. ------------------------------
  1697. make-directory (dir)
  1698. Create a directory.  One argument, a file name string.
  1699.  
  1700. ------------------------------
  1701. make-extent (from to &optional buffer)
  1702.  
  1703. Make extent for range [FROM, TO) in BUFFER -- BUFFER defaults to 
  1704. current buffer.  Insertions at point TO will be outside of the extent;
  1705. insertions at FROM will be inside the extent (and the extent will grow.)
  1706.  
  1707. ------------------------------
  1708. make-face (name)
  1709.  
  1710. Defines and returns a new FACE on all screens.  
  1711. You can modify the font, color, etc of this face with the set-face- functions.
  1712.  
  1713. ------------------------------
  1714. make-face-bold (face &optional screen)
  1715.  
  1716. Make the font of the given face be bold, if possible.  
  1717. Returns nil on failure.
  1718.  
  1719. ------------------------------
  1720. make-face-bold-italic (face &optional screen)
  1721.  
  1722. Make the font of the given face be bold and italic, if possible.  
  1723. Returns nil on failure.
  1724.  
  1725. ------------------------------
  1726. make-face-italic (face &optional screen)
  1727.  
  1728. Make the font of the given face be italic, if possible.  
  1729. Returns nil on failure.
  1730.  
  1731. ------------------------------
  1732. make-face-unbold (face &optional screen)
  1733.  
  1734. Make the font of the given face be non-bold, if possible.  
  1735. Returns nil on failure.
  1736.  
  1737. ------------------------------
  1738. make-face-unitalic (face &optional screen)
  1739.  
  1740. Make the font of the given face be non-italic, if possible.  
  1741. Returns nil on failure.
  1742.  
  1743. ------------------------------
  1744. make-hashtable (size)
  1745. Make a hashtable of size SIZE.
  1746.  
  1747. ------------------------------
  1748. make-keymap ()
  1749.  
  1750. Construct and return a new keymap object.  All entries in it are nil,
  1751. meaning "command undefined".
  1752.  
  1753. ------------------------------
  1754. make-obsolete (fn new)
  1755.  
  1756. Make the byte-compiler warn that FUNCTION is obsolete and NEW should be
  1757. used instead.  If NEW is a string, that is the use instead message.
  1758.  
  1759. ------------------------------
  1760. make-screen-invisible (screen)
  1761.  
  1762. Unconditionally removes screen from the display (assuming it is an X-window).
  1763. If what you want to do is iconify the screen (if the window manager uses
  1764. icons) then you should call `iconify-screen' instead.
  1765.  
  1766. ------------------------------
  1767. make-screen-visible (screen)
  1768.  
  1769. Make the screen SCREEN visible (assuming it is an X-window).
  1770. Also raises the screen so that nothing obscures it.
  1771.  
  1772. ------------------------------
  1773. make-temp-name (prefix)
  1774.  
  1775. Generate temporary file name (string) starting with PREFIX (a string).
  1776. The Emacs process number forms part of the result,
  1777. so there is no danger of generating a name being used by another process.
  1778.  
  1779. ------------------------------
  1780. map-extents (function &optional buffer from to maparg)
  1781.  
  1782. Map FUNCTION over the extents which overlap region in BUFFER starting at
  1783.  FROM and ending at TO.  FUNCTION is called with arguments (extent, MAPARG).
  1784. All arguments except FUNCTION are optional, with FROM, TO, MAPARG, and
  1785.  BUFFER defaulting to the beginning of BUFFER, the end of BUFFER, NIL, and
  1786.  current buffer, respectively.
  1787. If the function returns non-nil, then map-extents returns immediately.
  1788. map-extents always returns nil.
  1789.  
  1790. ------------------------------
  1791. map-keymap (function keymap &optional sort_first)
  1792.  
  1793. Apply FUNCTION to each element of KEYMAP.  FUNCTION will be called with
  1794. two arguments: a key-description list, and the binding.  The order in which
  1795. the elements of the keymap are passed to the function is unspecified.  If
  1796. the function inserts new elements into the keymap, it may or may not
  1797. be called with them later.  No element of the keymap will ever be passed to
  1798. the function more than once.
  1799.  
  1800. The function will not be called on elements of this keymaps parent (see the
  1801. function keymap-parent) or upon keymaps which are contained within this
  1802. keymap (multi-character definitions).  It will be called on "meta"
  1803. characters, however, since they are not really two-character sequences.
  1804.  
  1805. If the optional third argument SORT-FIRST is non-nil, then the elements of
  1806. the keymap will be passed to the mapper function in a canonical order.
  1807. Otherwise, they will be passed in hash (that is, random) order, which is
  1808. faster.
  1809.  
  1810. ------------------------------
  1811. maphash (function table)
  1812.  
  1813. Map FUNCTION over entries in TABLE with, calling it with two
  1814. arguments, each key and value in the table.
  1815.  
  1816. ------------------------------
  1817. mark-bob (&optional arg)                    bound to C-<
  1818.  
  1819. Push a mark at the beginning of the buffer; leave point where it is.
  1820. With arg N, push mark N/10 of the way from the true beginning.
  1821.  
  1822. ------------------------------
  1823. mark-eob (&optional arg)                    bound to C->
  1824.  
  1825. Push a mark at the end of the buffer; leave point where it is.
  1826. With arg N, push mark N/10 of the way from the true end.
  1827.  
  1828. ------------------------------
  1829. member (elt list)
  1830.  
  1831. Return non-nil if ELT is an element of LIST.  Comparison done with EQUAL.
  1832. The value is actually the tail of LIST whose car is ELT.
  1833.  
  1834. ------------------------------
  1835. menu-event-p (obj)
  1836. True if the argument is a menu event object.
  1837.  
  1838. ------------------------------
  1839. modify-screen-parameters (screen alist)
  1840.  
  1841. Modify the parameters of screen SCREEN according to ALIST.
  1842. ALIST is an alist of parameters to change and their new values.
  1843. Each element of ALIST has the form (PARM . VALUE), where PARM is a symbol.
  1844. The meaningful PARMs depend on the kind of screen; undefined PARMs are ignored.
  1845.  
  1846. ------------------------------
  1847. motion-event-p (obj)
  1848. True if the argument is a mouse-motion event object.
  1849.  
  1850. ------------------------------
  1851. mouse-del-char (event)
  1852. Delete the char pointed to by the mouse.
  1853.  
  1854. ------------------------------
  1855. mouse-delete-window ()
  1856. Delete the Emacs window the mouse is on.
  1857.  
  1858. ------------------------------
  1859. mouse-keep-one-window ()
  1860. Select Emacs window mouse is on, then kill all other Emacs windows.
  1861.  
  1862. ------------------------------
  1863. mouse-kill-line (event)
  1864. Kill the line pointed to by the mouse.
  1865.  
  1866. ------------------------------
  1867. mouse-line-length (event)
  1868. Print the length of the line indicated by the pointer.
  1869.  
  1870. ------------------------------
  1871. mouse-scroll (event)
  1872. Scroll point to the mouse position.
  1873.  
  1874. ------------------------------
  1875. mouse-select ()
  1876. Select Emacs window the mouse is on.
  1877.  
  1878. ------------------------------
  1879. mouse-select-and-split ()
  1880. Select Emacs window mouse is on, then split it vertically in half.
  1881.  
  1882. ------------------------------
  1883. mouse-set-mark (event)
  1884.  
  1885. Select Emacs window mouse is on, and set mark at mouse position.
  1886. Display cursor at that position for a second.
  1887.  
  1888. ------------------------------
  1889. mouse-set-point (event)
  1890. Select Emacs window mouse is on, and move point to mouse position.
  1891.  
  1892. ------------------------------
  1893. mouse-track (event)
  1894.  
  1895. Make a selection with the mouse.  This should be bound to a mouse button.
  1896. If you click-and-drag, the selection will be set to the region between the
  1897. point of the initial click and the point at which you release the button.
  1898. These positions need not be ordered.
  1899.  
  1900. If you click-and-release without moving the mouse, then the point is moved,
  1901. and the selection is disowned (there will be no selection owner.)  The mark
  1902. will be set to the previous position of point.
  1903.  
  1904. If you double-click, the selection will extend by symbols instead of by
  1905. characters.  If you triple-click, the selection will extend by lines.
  1906.  
  1907. If you drag the mouse off the top or bottom of the window, you can select
  1908. pieces of text which are larger than the visible part of the buffer; the 
  1909. buffer will scroll as necessary.
  1910.  
  1911. The selected text becomes the current X Selection, and is also copied to the
  1912. top of the kill ring.  The point will be left at the position at which you
  1913. released the button, and the mark will be left at the initial click position.
  1914.  
  1915. See also the mouse-track-adjust command, on Sh-button1.
  1916.  
  1917. ------------------------------
  1918. mouse-track-adjust (event)
  1919.  
  1920. Extend the existing selection.  This should be bound to a mouse button.
  1921. The selection will be enlarged or shrunk so that the point of the mouse
  1922. click is one of its endpoints.  This is only really meaningful after the
  1923. mouse-track command (button1) has been executed.
  1924.  
  1925. ------------------------------
  1926. mouse-track-and-copy-to-cutbuffer (event)
  1927. Makes a selection like mouse-track, but also copies it to the cutbuffer.
  1928.  
  1929. ------------------------------
  1930. mouse-track-delete-and-insert (event)
  1931.  
  1932. Make a selection with the mouse and insert it at point.
  1933. This is exactly the same as the mouse-track command on button1, 
  1934. except that point is not moved; the selected text is immediately inserted
  1935. after being selected; and the text of the selection is deleted.
  1936.  
  1937. ------------------------------
  1938. mouse-track-insert (event)
  1939.  
  1940. Make a selection with the mouse and insert it at point.
  1941. This is exactly the same as the mouse-track command on button1, 
  1942. except that point is not moved; the selected text is immediately inserted
  1943. after being selected; and the selection is immediately disowned afterwards.
  1944.  
  1945. ------------------------------
  1946. mouse-window-to-region (event)
  1947. Narrow window to region between cursor and mouse pointer.
  1948.  
  1949. ------------------------------
  1950. next-command-event (event)
  1951.  
  1952. Given an event structure, fills it in with the next keyboard, mouse
  1953. press, or mouse release event available from the user.  If there are
  1954. non-command events available (mouse motion, sub-process output, etc) then
  1955. these will be executed (with dispatch-event) and discarded.  This 
  1956. function is provided as a convenience; it is equivalent to the elisp code
  1957.  
  1958.     (while (progn
  1959.         (next-event event)
  1960.             (not (or (key-press-event-p event)
  1961.                      (button-press-event-p event)
  1962.                      (button-release-event-p event)
  1963.                      (menu-event-p event))))
  1964.       (dispatch-event event))
  1965.  
  1966. ------------------------------
  1967. next-event (event)
  1968.  
  1969. Given an event structure, fills it in with the next event available
  1970. from the window system or terminal driver.  Pass this object to
  1971. dispatch-event to handle it.
  1972.  
  1973. See also the function next-command-event.
  1974.  
  1975. If the second optional argument is non-nil, then this will never return
  1976. key-press and mouse-click events, but will delay them until later.  You
  1977. should probably never need to use this option; it is used for implementing
  1978. the wait-reading-process-input function.
  1979.  
  1980. ------------------------------
  1981. next-extent (extent_obj)
  1982.  
  1983. Find next extent after EXTENT. If EXTENT is a buffer
  1984. return the first extent in the buffer.
  1985.  
  1986. ------------------------------
  1987. next-screen (&optional screen miniscreen visible-only-p)
  1988.  
  1989. Return the next screen in the screen list after SCREEN.
  1990. If MINISCREEN is non-nil, include the global-minibuffer-screen if it
  1991. has its own screen.
  1992. If VISIBLE-ONLY-P is non-nil, then cycle through the visible screens,
  1993. instead of all screens.
  1994.  
  1995. ------------------------------
  1996. other-window-any-screen (n)
  1997.  
  1998. Select the ARGth different window on any screen.
  1999. All windows on current screen are arranged in a cyclic order.
  2000. This command selects the window ARG steps away in that order.
  2001. A negative ARG moves in the opposite order.  However, unlike
  2002. other-window, this command will select a window on the next
  2003. (or previous) screen instead of wrapping around to the top
  2004. (or bottom) of this screen, when there are no more windows.
  2005.  
  2006. ------------------------------
  2007. play-sound (sound &optional volume)
  2008.  
  2009. Play a sound of the provided type.
  2010. See the variable sound-alist.
  2011.  
  2012. ------------------------------
  2013. popup-dialog-box: (dbox_desc)
  2014.  
  2015. Pop up a dialog box.
  2016. A dialog box description is a list.
  2017.  
  2018.  - The first element of the list is a string to display in the dialog box.
  2019.  - The rest of the elements are descriptions of the dialog box's buttons.
  2020.    Each one is a vector of three elements:
  2021.    - The first element is the text of the button.
  2022.    - The second element is the `callback'.
  2023.    - The third element is t or nil, whether this button is selectable.
  2024.  
  2025. If the `callback' of a button is a symbol, then it must name a command.
  2026. It will be invoked with `call-interactively'.  If it is a list, then it is
  2027. evaluated with `eval'.
  2028.  
  2029. One (and only one) of the buttons may be `nil'.  This marker means that all
  2030. following buttons should be flushright instead of flushleft.
  2031.  
  2032. The syntax, more precisely:
  2033.  
  2034.    form        :=  <something to pass to `eval'>
  2035.    command    :=  <a symbol or string, to pass to `call-interactively'>
  2036.    callback     :=  command | form
  2037.    active-p    :=  <t or nil, whether this thing is selectable>
  2038.    name        :=  <string>
  2039.    partition    :=  'nil'
  2040.    button    :=  '['  name callback active-p ']'
  2041.    dialog    :=  '(' name [ button ]+ [ partition [ button ]+ ] ')'
  2042.  
  2043. ------------------------------
  2044. popup-menu: (menu_desc)
  2045.  
  2046. Pop up the given menu.
  2047. A menu is a list of menu items, strings, and submenus.
  2048.  
  2049. The first element of a menu must be a string, which is the name of the
  2050. menu.  This is the string that will be displayed in the parent menu, if
  2051. any.  For toplevel menus, it is ignored.  This string is not displayed
  2052. in the menu itself.
  2053.  
  2054. A menu item is a vector of three or four elements:
  2055.  
  2056.  - the name of the menu item (a string);
  2057.  - the `callback' of that item;
  2058.  - whether this item is active (selectable);
  2059.  - and an optional string to append to the name.
  2060.  
  2061. If the `callback' of a menu item is a symbol, then it must name a command.
  2062. It will be invoked with `call-interactively'.  If it is a list, then it is
  2063. evaluated with `eval'.
  2064.  
  2065. The fourth element of a menu item is a convenient way of adding the name
  2066. of a command's ``argument'' to the menu, like ``Kill Buffer NAME''.
  2067.  
  2068. If an element of a menu is a string, then that string will be presented in
  2069. the menu as unselectable text.
  2070.  
  2071. If an element of a menu is a string consisting solely of hyphens, then that
  2072. item will be presented as a solid horizontal line.
  2073.  
  2074. If an element of a menu is a list, it is treated as a submenu.  The name of
  2075. that submenu (the first element in the list) will be used as the name of the
  2076. item representing this menu on the parent.
  2077.  
  2078. The syntax, more precisely:
  2079.  
  2080.    form        :=  <something to pass to `eval'>
  2081.    command    :=  <a symbol or string, to pass to `call-interactively'>
  2082.    callback     :=  command | form
  2083.    active-p    :=  <t or nil, whether this thing is selectable>
  2084.    text        :=  <string, non selectable>
  2085.    name        :=  <string>
  2086.    argument    :=  <string>
  2087.    menu-item    :=  '['  name callback active-p [ argument ]  ']'
  2088.    menu        :=  '(' name [ menu-item | menu | text ]+ ')'
  2089.  
  2090. ------------------------------
  2091. process-event-p (obj)
  2092. True if the argument is a process-output event object.
  2093.  
  2094. ------------------------------
  2095. proclaim-inline (&rest fns)
  2096.  
  2097. Cause the named functions to be open-coded when called from compiled code.
  2098. They will only be compiled open-coded when byte-compile-optimize is true.
  2099.  
  2100. ------------------------------
  2101. proclaim-notinline (&rest fns)
  2102. Cause the named functions to no longer be open-coded.
  2103.  
  2104. ------------------------------
  2105. puthash (obj val table)
  2106. Hash OBJ to VAL in TABLE.
  2107.  
  2108. ------------------------------
  2109. raise-screen (screen)
  2110. Make the window of SCREEN be the uppermost one (fully visible).
  2111.  
  2112. ------------------------------
  2113. round (arg)
  2114. Return the nearest integer to ARG.
  2115.  
  2116. ------------------------------
  2117. lower-screen (screen)
  2118. Make the window of SCREEN be the bottommost one.
  2119.  
  2120. ------------------------------
  2121. read-mouse-position (screen)
  2122. Return a cons (x . y) which represents the position of the mouse.
  2123.  
  2124. ------------------------------
  2125. real-path-name (name &optional defalt)
  2126.  
  2127. Convert NAME to absolute, and canonicalize it, resolving symbolic 
  2128. links as in Unix system call realpath(). Second arg DEFAULT is directory 
  2129. to start with if NAME is relative (does not start with slash); 
  2130. if DEFAULT is nil or missing, the current buffers value of 
  2131. default-directory is used. Returns nil if the file doesnt exist of if 
  2132. otherwise unable to resolve NAME.
  2133.  
  2134. ------------------------------
  2135. register-to-window-config (name)
  2136.  
  2137. Restore (make current) the window configuration in register REG (a letter).
  2138. Use with a register previously set with C-x 6.
  2139.  
  2140. ------------------------------
  2141. relabel-menu-item (path new-name)
  2142.  
  2143. Change the string of the specified menu item.
  2144. PATH is a list of strings which identify the position of the menu item in 
  2145. the menu hierarchy.  ("File" "Save") means the menu item called "Save"
  2146. under the toplevel "File" menu.  ("Menu" "Foo" "Item") means the 
  2147. menu item called "Item" under the "Foo" submenu of "Menu".
  2148. NEW-NAME is the string that the menu item will be printed as from now on.
  2149.  
  2150. ------------------------------
  2151. remhash (obj table)
  2152. Remove hashed value for OBJ in TABLE.
  2153.  
  2154. ------------------------------
  2155. remove-directory (dir)
  2156. Remove a directory.  One argument, a file name string.
  2157.  
  2158. ------------------------------
  2159. remove-hook (hook-var function)
  2160.  
  2161. Remove a function from a hook, if it is present.
  2162. First argument HOOK-VAR (a symbol) is the name of a hook, second
  2163.  argument FUNCTION is the function to remove (compared with `eq').
  2164.  
  2165. ------------------------------
  2166. remprop (symbol property)
  2167. Remove from SYMBOLs plist the property PROP and its value.
  2168.  
  2169. ------------------------------
  2170. screen-list ()
  2171. Return a list of all screens.
  2172.  
  2173. ------------------------------
  2174. screen-name (&optional screen)
  2175.  
  2176. Returns the name of SCREEN (defaulting to the selected screen).
  2177. This is not the same as the title of the screen.
  2178.  
  2179. ------------------------------
  2180. screen-parameters (&optional screen)
  2181.  
  2182. Return the parameters-alist of screen SCREEN.
  2183. It is a list of elements of the form (PARM . VALUE), where PARM is a symbol.
  2184. The meaningful PARMs depend on the kind of screen.
  2185.  
  2186. ------------------------------
  2187. screen-root-window (&optional screen)
  2188. Returns the root-window of SCREEN.
  2189.  
  2190. ------------------------------
  2191. screen-selected-window (&optional screen)
  2192. Return the selected window of screen SCREEN.
  2193.  
  2194. ------------------------------
  2195. screen-totally-visible-p (&optional screen)
  2196. Return T if screen is not obscured by any other X windows, NIL otherwise
  2197.  
  2198. ------------------------------
  2199. screen-visible-p (screen)
  2200.  
  2201. Return t if SCREEN is now "visible" (actually in use for display).
  2202. A screen that is not "visible" is not updated and, if it works through
  2203. a window system, it may not show at all.
  2204. Return the symbol icon if window is visible only as an icon.
  2205.  
  2206. ------------------------------
  2207. screenp (screen)
  2208.  
  2209. Return non-nil if OBJECT is a screen.
  2210. Value is t for a termcap screen (a character-only terminal),
  2211. x for an Emacs screen that is really an X window.
  2212.  
  2213. ------------------------------
  2214. select-screen (screen)
  2215.  
  2216. Select the screen S.
  2217. S's selected window becomes the selected window.
  2218.  
  2219. ------------------------------
  2220. selected-screen ()
  2221. Return the screen that is now selected.
  2222.  
  2223. ------------------------------
  2224. set-buffer-dedicated-screen (buffer screen)
  2225.  
  2226. For this BUFFER, set the SCREEN dedicated to it.
  2227. SCREEN must be a screen or nil.
  2228.  
  2229. ------------------------------
  2230. set-buffer-modtime (buf &optional time)
  2231.  
  2232. Update BUFFER's recorded modification time from the associated 
  2233. files modtime, if there is an associated file. If not, use the 
  2234. current time. In either case, if the optional arg TIME is supplied, use 
  2235. that is it is either an integer or a cons of two integers.
  2236.  
  2237. ------------------------------
  2238. set-case-table (table)
  2239.  
  2240. Select a new case table for the current buffer.
  2241. A case table is a list (DOWNCASE UPCASE CANONICALIZE EQUIVALENCES)
  2242.  where each element is either nil or a string of length 256.
  2243. DOWNCASE maps each character to its lower-case equivalent.
  2244. UPCASE maps each character to its upper-case equivalent;
  2245.  if lower and upper case characters are in 1-1 correspondence,
  2246.  you may use nil and the upcase table will be deduced from DOWNCASE.
  2247. CANONICALIZE maps each character to a canonical equivalent;
  2248.  any two characters that are related by case-conversion have the same
  2249.  canonical equivalent character.
  2250. EQUIVALENCES is a map that cyclicly permutes each equivalence class
  2251.  (of characters with the same canonical equivalent).
  2252. Both CANONICALIZE and EQUIVALENCES may be nil, in which case
  2253.  both are deduced from DOWNCASE and UPCASE.
  2254.  
  2255. ------------------------------
  2256. set-default-file-mode (nmask)
  2257.  
  2258. Set Unix umask value to ARGUMENT, and return old value.
  2259. The umask value is the default protection mode for new files.
  2260.  
  2261. ------------------------------
  2262. set-extent-attribute (extent attr)
  2263.  
  2264. Make EXTENT have ATTRIBUTE.
  2265. ATTRIBUTE must be one of the following symbols:
  2266.  
  2267.     highlight        highlight when the mouse moves over it
  2268.     write-protected    text within this extent will be unmodifyable
  2269.     invisible        don't display the text in this region
  2270.     unhighlight        turn off `highlight'
  2271.     writable        turn off `write-protected'
  2272.     visible        turn off `invisible'
  2273.  
  2274. ------------------------------
  2275. set-extent-begin-glyph (extent_obj begin_glyph)
  2276.  
  2277. Display a bitmap at the beginning of the given extent.
  2278. The begin-glyph should be a string naming a bitmap file (or nil.)
  2279.  
  2280. ------------------------------
  2281. set-extent-data (extent data)
  2282.  
  2283. Set the user data slot of the given extent.
  2284. Access this using the `extent-data' function.
  2285.  
  2286. ------------------------------
  2287. set-extent-end-glyph (extent_obj end_glyph)
  2288.  
  2289. Display a bitmap at the end of the given extent.
  2290. The end-glyph should be a string naming a bitmap file (or nil.)
  2291.  
  2292. ------------------------------
  2293. set-extent-endpoints (extent_obj start end)
  2294. Set the endpoints of EXTENT to START, END.
  2295.  
  2296. ------------------------------
  2297. set-extent-face: (extent face)
  2298.  
  2299. Make the given EXTENT have the graphic attributes specified by FACE.
  2300.  
  2301. ------------------------------
  2302. set-extent-priority (extent pri)
  2303.  
  2304. Changes the display priority of EXTENT.
  2305. When the extent attributes are being merged for display, the priority
  2306. is used to determine which extent takes precedence in the event of a
  2307. conflict (two extents whose faces both specify font, for example: the
  2308. font of the extent with the higher priority will be used.)
  2309. Extents are created with priority 0; priorities may be negative.
  2310.  
  2311. ------------------------------
  2312. set-face-background (face color &optional screen)
  2313.  
  2314. Change the background color of the given face.  The color should be a 
  2315. string, the name of a color.  If the optional SCREEN argument is provided, 
  2316. this face will be changed only in that screen; otherwise it will be changed 
  2317. in all screens.
  2318.  
  2319. ------------------------------
  2320. set-face-background-pixmap (face name &optional screen)
  2321.  
  2322. Change the background pixmap of the given face.  The pixmap name should be
  2323. a string, the name of a file of pixmap data.  The directories listed in the
  2324. x-bitmap-file-path variable will be searched.  The bitmap may also be a list
  2325. of the form (width height data) where width and height are the size in pixels,
  2326. and data is a string, containing the raw bits of the bitmap.  
  2327. If the optional SCREEN argument is provided, this face will be changed only
  2328. in that screen; otherwise it will be changed in all screens.
  2329.  
  2330. ------------------------------
  2331. set-face-font (face font &optional screen)
  2332.  
  2333. Change the font of the given face.  The font should be a string, the name
  2334. changed only in that screen; otherwise it will be changed in all screens.
  2335.  
  2336. ------------------------------
  2337. set-face-foreground (face color &optional screen)
  2338.  
  2339. Change the foreground color of the given face.  The color should be a 
  2340. string, the name of a color.  If the optional SCREEN argument is provided, 
  2341. this face will be changed only in that screen; otherwise it will be changed 
  2342. in all screens.
  2343.  
  2344. ------------------------------
  2345. set-face-underline-p (face underline-p &optional screen)
  2346.  
  2347. Change whether the given face is underlined.  
  2348. If the optional SCREEN argument is provided, this face will be changed only
  2349. in that screen; otherwise it will be changed in all screens.
  2350.  
  2351. ------------------------------
  2352. set-keymap-parent (keymap parent)
  2353.  
  2354. Sets the parent keymap of the given keymap.
  2355. The parent of a keymap is searched for keybindings when a key sequence
  2356. isnt bound in this one.  The (current-global-map) is the default parent
  2357. of all keymaps.
  2358.  
  2359. ------------------------------
  2360. set-mouse-position (screen x y)
  2361. Move the mouse pointer to the center of character cell (X,Y) in SCREEN.
  2362.  
  2363. ------------------------------
  2364. set-screen-position (screen xoffset yoffset)
  2365. Sets position of SCREEN in pixels to XOFFSET by YOFFSET.
  2366.  
  2367. ------------------------------
  2368. set-screen-size (screen cols rows &optional pretend)
  2369.  
  2370. Sets size of SCREEN to COLS by ROWS.
  2371. Optional fourth arg non-nil means that redisplay should use COLS by ROWS
  2372. but that the idea oft eh acrual size of the screen should not be changed.
  2373.  
  2374. ------------------------------
  2375. set-standard-case-table (table)
  2376.  
  2377. Select a new standard case table for new buffers.
  2378. See set-case-table for more info on case tables.
  2379.  
  2380. ------------------------------
  2381. set-visited-file-modtime ()
  2382.  
  2383. Update buffers recorded modification time from the visited files time.
  2384. Useful if the buffer was not read from the file normally
  2385. or if the file itself has been changed for some known benign reason.
  2386.  
  2387. ------------------------------
  2388. set-window-buffer-dedicated (window arg)
  2389.  
  2390. Make WINDOW display BUFFER and be dedicated to that buffer.
  2391. Then Emacs will not automatically change which buffer appears in WINDOW.
  2392. If BUFFER is nil, make WINDOW not be dedicated (but dont change which
  2393. buffer appears in it currently).
  2394.  
  2395. ------------------------------
  2396. simultaneous-find-file (file-list)
  2397.  
  2398. Visit all files in FILE-LIST and display them simultaneously.
  2399.  
  2400. The current window is split across all files in FILE-LIST, as evenly
  2401. as possible.  Remaining lines go to the bottommost window.
  2402.  
  2403. The number of files that can be displayed this way is restricted by
  2404. the height of the current window and the variable window-min-height.
  2405.  
  2406. ------------------------------
  2407. sin (arg)
  2408. Return the sine of ARG.
  2409.  
  2410. ------------------------------
  2411. sinh (arg)
  2412. Return the hyperbolic sine of ARG.
  2413.  
  2414. ------------------------------
  2415. standard-case-table ()
  2416.  
  2417. Return the standard case table.
  2418. This is the one used for new buffers.
  2419.  
  2420. ------------------------------
  2421. sqrt (arg)
  2422. Return the square root of ARG.
  2423.  
  2424. ------------------------------
  2425. start-timer (name function value &optional restart)
  2426.  
  2427. Start a timer.
  2428. Args are NAME, FUNCTION, VALUE &optional RESTART.
  2429. NAME is an identifier for the timer.  It must be a string.  If a timer
  2430.   already exists with this name, NAME will be modified slightly to until
  2431.   it is unique.
  2432. FUNCTION should be a function (or symbol naming one) of no arguments.  It
  2433.   will be called each time the timer expires.  The function can access
  2434.   timer that invoked it through the variable current-timer.
  2435. VALUE is the number of seconds until this timer expires.
  2436. Optional fourth arg RESTART non-nil means that this timer should be
  2437.   restarted automatically after its function is called.  Normally a timer
  2438.   is deleted at expiration after its function has returned. 
  2439.   If non-nil RESTART should be a number indicating the value at which the
  2440.   timer should be set at restart time.
  2441. Returns the newly created timer.
  2442.  
  2443. ------------------------------
  2444. switch-to-buffer-new-screen (buffer)
  2445.  
  2446. Just like switch-to-buffer, but creates a new screen for it first.
  2447.  
  2448. ------------------------------
  2449. switch-to-other-buffer (arg)
  2450.  
  2451. Switch to the previous buffer.  With a numeric arg, n, switch to the nth
  2452. most recent buffer.  With an arg of 0, buries the current buffer at the
  2453. bottom of the buffer stack.
  2454.  
  2455. ------------------------------
  2456. tan (arg)
  2457. Return the tangent of ARG.
  2458.  
  2459. ------------------------------
  2460. tanh (arg)
  2461. Return the hyperbolic tangent of ARG.
  2462.  
  2463. ------------------------------
  2464. truncate (arg)
  2465. Truncate a floating point number to an int.  Rounds the value toward zero.
  2466.  
  2467. ------------------------------
  2468. timeout-event-p (obj)
  2469. True if the argument is a timeout event object.
  2470.  
  2471. ------------------------------
  2472. try-face-font (face font &optional screen)
  2473. Like set-face-font, but returns nil on failure instead of an error.
  2474.  
  2475. ------------------------------
  2476. user-login-name ()
  2477.  
  2478. Return the name under which the user logged in, as a string.
  2479. This is based on the effective uid, not the real uid.
  2480. Also, if the environment variable USER or LOGNAME is set,
  2481. that determines the value of this function.
  2482.  
  2483. ------------------------------
  2484. user-original-login-name ()
  2485.  
  2486. Return users login name from original login.
  2487. This tries to remain unaffected by su, by looking in environment variables.
  2488.  
  2489. ------------------------------
  2490. visible-screen-list ()
  2491. Return a list of all screens now "visible" (being updated).
  2492.  
  2493. ------------------------------
  2494. walk-windows (proc &optional minibuf all-screens)
  2495.  
  2496. Cycle through all visible windows, calling PROC for each one.
  2497. PROC is called with a window as argument.
  2498. Optional second arg MINIBUF t means count the minibuffer window
  2499. even if not active.  If MINIBUF is neither t nor nil it means
  2500. not to count the minibuffer even if it is active.
  2501. Optional third arg ALL-SCREENS t means include all windows in all screens;
  2502. otherwise cycle within the selected screen.
  2503.  
  2504. ------------------------------
  2505. window-config-to-register (name)
  2506.  
  2507. Save the current window configuration in register REG (a letter).
  2508. It can be later retrieved using M-x register-to-window-config.
  2509.  
  2510. ------------------------------
  2511. window-dedicated-p (window)
  2512.  
  2513. Return WINDOWs dedicated object, usually t or nil.
  2514. See also set-window-buffer-dedicated.
  2515.  
  2516. ------------------------------
  2517. window-end (&optional window)
  2518. Return position at which display currently ends in WINDOW.
  2519.  
  2520. ------------------------------
  2521. window-minibuffer-p (window)
  2522. Returns non-nil if WINDOW is a minibuffer window.
  2523.  
  2524. ------------------------------
  2525. window-screen (window)
  2526. Return the screen that window WINDOW is on.
  2527.  
  2528. ------------------------------
  2529. x-color-display-p (&optional screen)
  2530. Returns t if the X display of the given screen supports color.
  2531.  
  2532. ------------------------------
  2533. x-copy-primary-selection ()
  2534. If there is a selection, copy it to both the kill ring and the Clipboard.
  2535.  
  2536. ------------------------------
  2537. x-create-screen (parms)
  2538.  
  2539. Make a new X window, which is considered a "screen" in Emacs terms.
  2540. Return an Emacs screen object representing the X window.
  2541. ALIST is an alist of screen parameters.
  2542. The value of x-screen-defaults is an additional alist
  2543. of default parameters which apply when not overridden by ALIST.
  2544.  
  2545. ------------------------------
  2546. x-debug-mode (arg)
  2547.  
  2548. With a true arg, put the connection to the X server in synchronous
  2549. mode; this is slower.  False turns it off.
  2550. Do not simply call XSynchronize() from gdb; that won't work.
  2551.  
  2552. ------------------------------
  2553. x-delete-primary-selection ()
  2554.  
  2555. If there is a selection, delete the text it covers *without* copying it to
  2556. the kill ring or the Clipboard.
  2557.  
  2558. ------------------------------
  2559. x-disown-selection ()
  2560.  
  2561. Assuming we own the selection, disown it.  With an argument, discard the
  2562. secondary selection instead of the primary selection.
  2563.  
  2564. ------------------------------
  2565. x-display-color-cells (&optional screen)
  2566. Returns the number of color cells of the display `screen' is on.
  2567.  
  2568. ------------------------------
  2569. x-display-pixel-width (&optional screen)
  2570. Returns the width in pixels of the display `screen' is on.
  2571.  
  2572. ------------------------------
  2573. x-display-pixel-height (&optional screen)
  2574. Returns the height in pixels of the display `screen' is on.
  2575.  
  2576. ------------------------------
  2577. x-display-planes (&optional screen)
  2578. Returns the number of bitplanes of the display `screen' is on.
  2579.  
  2580. ------------------------------
  2581. x-display-visual-class (&optional screen)
  2582.  
  2583. Returns the visual class of the display `screen' is on.
  2584. The returned value will be one of the symbols StaticGray, GrayScale,
  2585. StaticColor, PseudoColor, TrueColor, or DirectColor.
  2586.  
  2587. ------------------------------
  2588. x-get-clipboard ()
  2589. Return text pasted to the clipboard.
  2590.  
  2591. ------------------------------
  2592. x-get-cutbuffer (&optional which-one)
  2593.  
  2594. Returns the value of one of the 8 X server cut-buffers.  Optional arg
  2595. WHICH-ONE should be a number from 0 to 7, defaulting to 0.
  2596. Cut buffers are considered obsolete; you should use selections instead.
  2597.  
  2598. ------------------------------
  2599. x-get-resource (name class type &optional screen)
  2600.  
  2601. Retrieve an X resource from the resource manager.
  2602. The first arg is the name of the resource to retrieve, such as "font".
  2603. The second arg is the class of the resource to retrieve, like "Font".
  2604. The third arg should be one of the symbols string, integer, or boolean,
  2605. specifying the type of object that the database is searched for.
  2606. The fourth arg is the screen to search for the resources on, defaulting
  2607. to the selected screen.
  2608.  
  2609. The call
  2610.     (x-get-resource "font" "Font" string)
  2611.  
  2612. is an interface to the C call
  2613.  
  2614.     XrmGetResource (db, "Emacs.this_screen_name.font",
  2615.             "Emacs.EmacsScreen.Font",
  2616.             "String");
  2617.  
  2618. Therefore if you want to retrieve a deeper resource, for example,
  2619. "Emacs.foo.foreground", you need to specify the same number of links
  2620. in the class path:
  2621.     (x-get-resource "foo.foreground" "Thing.Foreground" string)
  2622.  
  2623. which is equivalent to 
  2624.  
  2625.     XrmGetResource (db, "Emacs.screen_name.foo.foreground",
  2626.             "Emacs.EmacsScreen.Thing.Foreground",
  2627.             "String");
  2628.  
  2629. The returned value of this function is nil if the queried resource is not
  2630. found.  If the third arg is string, a string is returned, and if it is
  2631. integer, an integer is returned.  If the third arg is boolean, then the
  2632. returned value is the list (t) for true, (nil) for false, and is nil to
  2633. mean unspecified.
  2634.  
  2635. ------------------------------
  2636. x-get-secondary-selection ()
  2637. Return text selected from some X window.
  2638.  
  2639. ------------------------------
  2640. x-get-selection ()
  2641. Return text selected from some X window.
  2642.  
  2643. ------------------------------
  2644. x-get-selection-internal (selection_symbol target_type)
  2645.  
  2646. Return text selected from some X window.
  2647. SELECTION is a symbol, typically PRIMARY, SECONDARY, or CLIPBOARD.
  2648. TYPE is the type of data desired, typically STRING.
  2649.  
  2650. ------------------------------
  2651. x-grab-pointer (&optional shape ignore_keyboard)
  2652.  
  2653. Grab the pointer and restrict it to its current window.  If optional
  2654. SHAPE is non-nil, change the pointer shape to that.  If second optional
  2655. argument MOUSE-ONLY is non-nil, ignore keyboard events during the grab.
  2656.  
  2657. ------------------------------
  2658. x-insert-selection ()
  2659. Insert the current selection into buffer at point.
  2660.  
  2661. ------------------------------
  2662. x-kill-primary-selection ()
  2663.  
  2664. If there is a selection, delete the text it covers, and copy it to 
  2665. both the kill ring and the Clipboard.
  2666.  
  2667. ------------------------------
  2668. x-make-font-bold (font)
  2669.  
  2670. Given an X font specification, this attempts to make a bold version
  2671. of it.  If it fails, it returns nil.
  2672.  
  2673. ------------------------------
  2674. x-make-font-demibold (font)
  2675.  
  2676. Given an X font specification, this attempts to make a demibold version
  2677. of it.  If it fails, it returns nil.
  2678.  
  2679. ------------------------------
  2680. x-make-font-italic (font)
  2681.  
  2682. Given an X font specification, this attempts to make an italic version
  2683. of it.  If it fails, it returns nil.
  2684.  
  2685. ------------------------------
  2686. x-make-font-oblique (font)
  2687.  
  2688. Given an X font specification, this attempts to make an italic version
  2689. of it.  If it fails, it returns nil.
  2690.  
  2691. ------------------------------
  2692. x-make-font-unbold (font)
  2693.  
  2694. Given an X font specification, this attempts to make a non-bold version
  2695. of it.  If it fails, it returns nil.
  2696.  
  2697. ------------------------------
  2698. x-make-font-unitalic (font)
  2699.  
  2700. Given an X font specification, this attempts to make a non-italic version
  2701. of it.  If it fails, it returns the supplied font name.
  2702.  
  2703. ------------------------------
  2704. x-mouse-kill (event)
  2705.  
  2706. Kill the text between the point and mouse and copy it to the clipboard and
  2707. to the cut buffer
  2708.  
  2709. ------------------------------
  2710. x-new-screen ()
  2711. Creates a new Emacs screen (that is, a new X window.)
  2712.  
  2713. ------------------------------
  2714. x-own-clipboard (string)
  2715. Paste the given string to the X Clipboard.
  2716.  
  2717. ------------------------------
  2718. x-own-secondary-selection (selection)
  2719.  
  2720. Make a secondary X Selection of the given argument.  The argument may be a 
  2721. string or a cons of two markers (in which case the selection is considered to
  2722. be the text between those markers.)
  2723.  
  2724. ------------------------------
  2725. x-own-selection (selection)
  2726.  
  2727. Make a primary X Selection of the given argument.  
  2728. The argument may be a string, a cons of two markers or an extent.  In the 
  2729. latter cases the selection is considered to be the text between 
  2730. the markers or the between extents endpoints
  2731.  
  2732. ------------------------------
  2733. x-server-vendor (&optional screen)
  2734. Returns the vendor ID string of the X server `screen' is on.
  2735.  
  2736. ------------------------------
  2737. x-server-version (&optional screen)
  2738.  
  2739. Returns the version numbers of the X server `screen' is on.
  2740. The returned value is a list of three integers: the major and minor
  2741. version numbers of the X Protocol in use, and the vendor-specific release
  2742. number.  See also `x-server-vendor'.
  2743.  
  2744. ------------------------------
  2745. x-selection-exists-p (&optional selection)
  2746.  
  2747. Whether there is an owner for the given X Selection.
  2748. The arg should be the name of the selection in question, typically one of
  2749. the symbols PRIMARY, SECONDARY, or CLIPBOARD.  (For convenience, the symbol
  2750. nil is the same as PRIMARY, and t is the same as SECONDARY.)
  2751.  
  2752. ------------------------------
  2753. x-selection-owner-p (&optional selection)
  2754.  
  2755. Whether the current Emacs process owns the given X Selection.
  2756. The arg should be the name of the selection in question, typically one of
  2757. the symbols PRIMARY, SECONDARY, or CLIPBOARD.  (For convenience, the symbol
  2758. nil is the same as PRIMARY, and t is the same as SECONDARY.)
  2759.  
  2760. ------------------------------
  2761. x-set-point-and-insert-selection (event)
  2762. Sets point where clicked and insert the primary selection or the cut buffer.
  2763.  
  2764. ------------------------------
  2765. x-set-screen-icon-pixmap (screen pixmap &optional mask)
  2766.  
  2767. Set the icon-pixmap of the given screen.
  2768. This should be the name of a bitmap file, or a bitmap description list
  2769. of the form (width height "bitmap-data").
  2770. If the optional third argument is specified, it is the bitmap to use for
  2771. the icon-pixmap-mask (not all window managers obey this.)
  2772. Warning: when you call this function, the pixmap of the previous icon
  2773. of this screen (if any) is currently not freed.
  2774.  
  2775. ------------------------------
  2776. x-set-screen-pointer (screen cursor-name &optional fg bg)
  2777.  
  2778. Set the mouse cursor of SCREEN to the cursor named CURSOR-NAME,
  2779. with colors FOREGROUND and BACKGROUND.  The string may be any of the
  2780. standard cursor names from appendix B of the Xlib manual (also known as
  2781. the file <X11/cursorfont.h>) minus the XC_ prefix, or it may be a font
  2782. name and glyph index of the form "FONT fontname index [[font] index]",
  2783. or it may be a bitmap file acceptable to XmuLocateBitmapFile().
  2784. If it is a bitmap file, and if a bitmap file whose name is the name of
  2785. the cursor with "msk" exists, then it is used as the mask.  For example,
  2786. a pair of files may be named "cursor.xbm" and "cursor.xbmmsk".
  2787.  
  2788. ------------------------------
  2789. x-store-cutbuffer (string)
  2790.  
  2791. Store the given string into the X servers primary cut buffer.
  2792. The previous value of the primary cut buffer is rotated to the secondary
  2793. cut buffer, and the second to the third, and so on (there are 8 buffers.)
  2794. Cut buffers are considered obsolete; you should use selections instead.
  2795.  
  2796. ------------------------------
  2797. x-ungrab-pointer ()
  2798. Release the pointer.
  2799.  
  2800. ------------------------------
  2801. x-yank-clipboard-selection ()
  2802. If someone owns a Clipboard selection, insert it at point.
  2803.  
  2804. ------------------------------
  2805. y-or-n-p-with-timeout (timeout prompt &optional default-value)
  2806.  
  2807. Just like y-or-n-p, but will time out after TIMEOUT seconds
  2808. if the user has not yes answered, returning DEFAULT-VALUE.
  2809.  
  2810. ------------------------------
  2811. yes-or-no-p-with-timeout (timeout prompt &optional default-value)
  2812.  
  2813. Just like yes-or-no-p, but will time out after TIMEOUT seconds
  2814. if the user has not yes answered, returning DEFAULT-VALUE.
  2815.  
  2816. ------------------------------
  2817. zmacs-activate-region ()
  2818.  
  2819. Make the region between point and mark be in the active (hilighted)
  2820. state, if zmacs-regions is true.  Only a very small number of commands
  2821. should ever do this.
  2822.  
  2823. ------------------------------
  2824. zmacs-deactivate-region ()
  2825.  
  2826. Make the region between point and mark no longer be in the active
  2827. (hilighted) state, if zmacs-regions is true.  You shouldn't need 
  2828. to call this; the command loop calls it when appropriate.
  2829.  
  2830.  
  2831. New Variables:
  2832. ==============
  2833.  
  2834. ------------------------------
  2835. activate-menubar-hook
  2836.  
  2837. Function or functions called before a menubar menu is pulled down.
  2838. These functions are called with no arguments, and should interrogate and
  2839. modify the value of `current-menubar' as desired.
  2840.  
  2841. The functions on this hook are invoked after the mouse goes down, but before
  2842. the menu is mapped, and may be used to activate, deactivate, add, or delete
  2843. items from the menus.
  2844.  
  2845. These functions may return the symbol `t' to assert that they have made
  2846. no changes to the menubar.  If any other value is returned, the menubar is
  2847. recomputed.  If `t' is returned but the menubar has been changed, then the
  2848. changes may not show up right away.  Returning `nil' when the menubar has
  2849. not changed is not so bad; more computation will be done, but redisplay of
  2850. the menubar will still be performed optimally.
  2851.  
  2852. ------------------------------
  2853. after-change-function
  2854.  
  2855. Function to call after each text change.
  2856. Three arguments are passed to the function: the positions of
  2857. the beginning and end of the range of changed text,
  2858. and the length of the pre-change text replaced by that range.
  2859. For an insertion, the pre-change length is zero;
  2860. for a deletion, that length is the number of characters deleted,
  2861. and the post-change beginning and end are at the same place.
  2862.  
  2863. While executing the after-change-function, changes to buffers do not
  2864. cause calls to any before-change-function or after-change-function.
  2865.  
  2866. ------------------------------
  2867. after-load-alist
  2868.  
  2869. An alist of expressions to be evalled when particular files are loaded.
  2870. Each element looks like (FILENAME FORMS...).
  2871. When load is run and the file-name argument is FILENAME,
  2872. the FORMS in the corresponding element are executed at the end of loading.
  2873.  
  2874. FILENAME must match exactly!  Normally FILENAME is the name of a library,
  2875. with no directory specified, since that is how load is normally called.
  2876. An error in FORMS does not undo the load,
  2877. but does prevent execution of the rest of the FORMS.
  2878.  
  2879. ------------------------------
  2880. after-write-file-hooks
  2881. List of functions to be called after writing out a buffer to a file.
  2882. These hooks are considered to pertain to the visited file.
  2883. So this list is cleared if you change the visited file name.
  2884.  
  2885. ------------------------------
  2886. allow-deletion-of-last-visible-screen
  2887.  
  2888. *If nil, the last visible screen may not be deleted by `delete-window'
  2889. You can never delete the last screen, but setting this to t will allow you
  2890. to delete the last non-iconified screen.  Default nil.
  2891.  
  2892. ------------------------------
  2893. auto-fill-inhibit-regexp
  2894. *Regexp to match lines which should not be auto-filled.
  2895.  
  2896. ------------------------------
  2897. auto-lower-screen
  2898.  
  2899. *If true, screens will be lowered to the bottom when no longer selected.
  2900. Under X, most ICCCM-compliant window managers will have an option to do this
  2901. for you, but this variable is provided in case you're using a broken WM.
  2902.  
  2903. ------------------------------
  2904. auto-raise-screen
  2905.  
  2906. *If true, screens will be raised to the top when selected.
  2907. Under X, most ICCCM-compliant window managers will have an option to do this
  2908. for you, but this variable is provided in case you're using a broken WM.
  2909.  
  2910. ------------------------------
  2911. auto-save-timeout
  2912.  
  2913. *Number of seconds idle time before auto-save.
  2914. Zero or nil means disable auto-saving due to idleness.
  2915.  
  2916. The actual amount of idle time between auto-saves is logarithmically related
  2917. to the size of the current buffer.  This variable is the number of seconds
  2918. after which an auto-save will happen when the current buffer is 50k or less;
  2919. the timeout will be 2 1/4 times this in a 200k buffer, 3 3/4 times this in a
  2920. 1000k buffer, and 4 1/2 times this in a 2000k buffer.
  2921.  
  2922. For this variable to have any effect, you must do (require 'timer).
  2923.  
  2924. See also the variable `auto-save-interval', which controls auto-saving based
  2925. on the number of characters typed.
  2926.  
  2927. ------------------------------
  2928. baud-rate
  2929.  
  2930. The variable `baud-rate' has replaced the function `baud-rate'.
  2931.  
  2932. ------------------------------
  2933. before-change-function
  2934.  
  2935. Function to call before each text change.
  2936. Two arguments are passed to the function: the positions of
  2937. the beginning and end of the range of old text to be changed.
  2938. For an insertion, the beginning and end are at the same place.
  2939. No information is given about the length of the text after the change.
  2940. position of the change
  2941.  
  2942. While executing the before-change-function, changes to buffers do not
  2943. cause calls to any before-change-function or after-change-function.
  2944.  
  2945. ------------------------------
  2946. buffer-file-truename
  2947.  
  2948. The real name of the file visited in the current buffer, 
  2949. or nil if not visiting a file.  This is the result of passing 
  2950. buffer-file-name to the real-path-name function.  Every buffer 
  2951. has its own value of this variable.  This variable is automatically 
  2952. maintained by the functions that change the file name associated 
  2953. with a buffer.
  2954.  
  2955. ------------------------------
  2956. buffers-menu-max-size
  2957.  
  2958. *Maximum number of entries which may appear on the "Buffers" menu.
  2959. If this is 10, then only the ten most-recently-selected buffers will be
  2960. shown.  If this is nil, then all buffers will be shown.  Setting this to
  2961. a large number or nil will slow down menu responsiveness.
  2962.  
  2963. ------------------------------
  2964. buffers-menu-switch-to-buffer-function
  2965.  
  2966. *The function to call to select a buffer from the buffers menu.
  2967. `switch-to-buffer' is a good choice, as is `pop-to-buffer'.
  2968.  
  2969. ------------------------------
  2970. complex-buffers-menu-p
  2971.  
  2972. *If true, the buffers menu will contain several commands, as submenus
  2973. of each buffer line.  If this is false, then there will be only one command:
  2974. select that buffer.
  2975.  
  2976. ------------------------------
  2977. create-screen-hook
  2978.  
  2979. Function or functions of one argument, called with each newly-created screen.
  2980.  
  2981. ------------------------------
  2982. current-menubar
  2983.  
  2984. The current menubar.  This may be buffer-local.
  2985.  
  2986. When the menubar is changed, the function `set-menubar-dirty-flag' has to
  2987. be called for the menubar to be updated on the screen.  See `set-menubar'
  2988. and `set-buffer-menubar'.
  2989.  
  2990. A menubar is a list of menus and menu-items.
  2991. A menu is a list of menu items, strings, and submenus.
  2992.  
  2993. The first element of a menu must be a string, which is the name of the
  2994. menu.  This is the string that will be displayed in the menubar, or in
  2995. the parent menu.  This string is not displayed in the menu itself.
  2996.  
  2997. A menu item is a vector of three or four elements:
  2998.  
  2999.  - the name of the menu item (a string);
  3000.  - the `callback' of that item;
  3001.  - whether this item is active (selectable);
  3002.  - and an optional string to append to the name.
  3003.  
  3004. If the `callback' of a menu item is a symbol, then it must name a command.
  3005. It will be invoked with `call-interactively'.  If it is a list, then it is
  3006. evaluated with `eval'.
  3007.  
  3008. The fourth element of a menu item is a convenient way of adding the name
  3009. of a command's ``argument'' to the menu, like ``Kill Buffer NAME''.
  3010.  
  3011. If an element of a menu (or menubar) is a string, then that string will be
  3012. presented in the menu (or menubar) as unselectable text.
  3013.  
  3014. If an element of a menu is a string consisting solely of hyphens, then that
  3015. item will be presented as a solid horizontal line.
  3016.  
  3017. If an element of a menu is a list, it is treated as a submenu.  The name of
  3018. that submenu (the first element in the list) will be  used as the name of
  3019. the item representing this menu on the parent.
  3020.  
  3021. If an element of a menubar is `nil', then it is used to represent the 
  3022. division between the set of menubar-items which are flushleft and those
  3023. which are flushright.  (Note: this isn't completely implemented yet.)
  3024.  
  3025. After the menubar is clicked upon, but before any menus are popped up,
  3026. the functions on the `activate-menubar-hook' are invoked to make changes 
  3027. to the menus and menubar.  This is intended to implement lazy alteration 
  3028. of the sensitivity of menu items.
  3029.  
  3030. The syntax, More precisely:
  3031.  
  3032.    form        :=  <something to pass to `eval'>
  3033.    command    :=  <a symbol or string, to pass to `call-interactively'>
  3034.    callback     :=  command | form
  3035.    active-p    :=  <t or nil, whether this thing is selectable>
  3036.    text        :=  <string, non selectable>
  3037.    name        :=  <string>
  3038.    argument    :=  <string>
  3039.    menu-item    :=  '['  name callback active-p [ argument ]  ']'
  3040.    menu        :=  '(' name [ menu-item | menu | text ]+ ')'
  3041.    partition    :=  'nil'
  3042.    menubar    :=  '(' [ menu-item | menu | text ]* [ partition ]
  3043.                 [ menu-item | menu | text ]*
  3044.              ')'
  3045.  
  3046. ------------------------------
  3047. current-mouse-event
  3048.  
  3049. The mouse-button event which invoked this command, or nil.
  3050. This is what (interactive "e") returns.
  3051.  
  3052. ------------------------------
  3053. default-directory-alist
  3054.  
  3055. Alist of major modes and their opinion on default-directory, as a
  3056. lisp expression to evaluate.  A resulting value of nil is ignored in
  3057. favor of default-directory.
  3058.  
  3059. ------------------------------
  3060. default-screen-name
  3061.  
  3062. The default name to assign to newly-created screens.
  3063. This can be overridden by arguments to `x-create-screen'.
  3064. This must be a string.
  3065.  
  3066. ------------------------------
  3067. describe-function-show-arglist
  3068.  
  3069. *If true, then describe-function will show its arglist if the function is
  3070. not an autoload.
  3071.  
  3072. ------------------------------
  3073. directory-abbrev-alist
  3074.  
  3075. *Alist of abbreviations for file directories.
  3076. A list of elements of the form (FROM . TO), each meaning to replace
  3077. FROM with TO when it appears in a directory name.
  3078. This replacement is done when setting up the default directory
  3079. of a newly visited file.  *Every* FROM string should start with ^.
  3080.  
  3081. Use this feature when you have directories which you normally refer to
  3082. via absolute symbolic links.  Make TO the name of the link, and FROM
  3083. the name it is linked to.
  3084.  
  3085. ------------------------------
  3086. display-buffer-function
  3087.  
  3088. If non-nil, function to call to handle display-buffer.
  3089. It will receive three args, the same args as display-buffer.
  3090.  
  3091. ------------------------------
  3092. enable-local-variables
  3093.  
  3094. *Control use of local-variables lists in files you visit.
  3095. The value can be t, nil or something else.
  3096. A value of t means local-variables lists are obeyed;
  3097. nil means they are ignored; anything else means query.
  3098.  
  3099. The command M-x normal-mode always obeys local-variables lists
  3100. and ignores this variable.
  3101.  
  3102. Note: this variable has replaced `inhibit-local-variables'.
  3103.  
  3104. ------------------------------
  3105. execution-path
  3106. Pathname of executable emacs program now running.
  3107.  
  3108. ------------------------------
  3109. find-file-compare-truenames
  3110.  
  3111. If this is true, then the find-file command will check the truenames
  3112. of all visited files when deciding whether a given file is already in
  3113. a buffer, instead of just the buffer-file-name.  This means that if you
  3114. attempt to visit another file which is a hard-link or symbolic-link to a
  3115. file which is already in a buffer, the existing buffer will be found instead
  3116. of a newly-created one.
  3117.  
  3118. See also the variable find-file-use-truenames.
  3119.  
  3120. ------------------------------
  3121. find-file-use-truenames
  3122.  
  3123. If this is true, then a buffers visited file-name will always be
  3124. chased back to the real file; it will never be a symbolic link, and there
  3125. will never be a symbolic link anywhere in its directory path.
  3126. That is, the buffer-file-name and buffer-file-truename will be equal.
  3127.  
  3128. See also the variable find-file-compare-truenames.
  3129.  
  3130. ------------------------------
  3131. first-change-function
  3132.  
  3133. Function to call before changing a buffer which is unmodified.
  3134. The function is called, with no arguments, if it is non-nil.
  3135.  
  3136. ------------------------------
  3137. float-output-format
  3138.  
  3139. The format descriptor string that lisp uses to print floats.
  3140. This is a %-spec like those accepted by printf in C,
  3141. but with some restrictions.  It must start with the two characters %..
  3142. After that comes an integer precision specification,
  3143. and then a letter which controls the format.
  3144. The letters allowed are e, f and g.
  3145. Use e for exponential notation "DIG.DIGITSeEXPT"
  3146. Use f for decimal point notation "DIGITS.DIGITS".
  3147. Use g to choose the shorter of those two formats for the number at hand.
  3148. The precision in any of these cases is the number of digits following
  3149. the decimal point.  With f, a precision of 0 means to omit the
  3150. decimal point.  0 is not allowed with f or g.
  3151.  
  3152. A value of nil means to use %.16g.
  3153.  
  3154. Regardless of the value of float-output-format, a floating point number
  3155. will never be printed in such a way that it is ambiguous with an integer;
  3156. that is, a floating-point number will always be printed with a decimal
  3157. point and/or an exponent, even if the digits following the decimal point
  3158. are all zero.  This is to preserve read-equivalence.
  3159.  
  3160. ------------------------------
  3161. get-screen-for-buffer-default-screen-name
  3162. The default screen to select; see doc of `get-screen-for-buffer'.
  3163.  
  3164. ------------------------------
  3165. init-file-user
  3166.  
  3167. When the .emacs file is read, this says which users init file it is.
  3168. The value may be the null string or a string containing a users name.
  3169. If the value is a null string, it means that the init file was taken from
  3170. the user that originally logged in.
  3171.  
  3172. In all cases, (concat "~" init-file-user "/") evaluates to the
  3173. directory name of the directory where the .emacs file was looked for.
  3174.  
  3175. ------------------------------
  3176. internal-doc-file-name
  3177. Name of file containing documentation strings of built-in symbols.
  3178.  
  3179. ------------------------------
  3180. interrupt-char
  3181.  
  3182. Character which interrupts Emacs.
  3183. Do not setq this variable: use the function set-interrupt-character instead.
  3184. Depending on the system you are on, this may need to do magic like changing
  3185. interrupt handlers.
  3186.  
  3187. ------------------------------
  3188. invocation-name
  3189.  
  3190. Name of file used to invoke editing session.
  3191. This is the same as `(file-name-nondirectory execution-path)'.
  3192.  
  3193. ------------------------------
  3194. keymap-tick
  3195. Incremented for each change to any keymap.
  3196.  
  3197. ------------------------------
  3198. kill-emacs-hook
  3199. Run when kill-emacs is called.
  3200.  
  3201. ------------------------------
  3202. kill-hooks
  3203.  
  3204. If non-nil, this should be a function or functions of one argument which
  3205. are called with the string most recently added to the kill ring.  You can use
  3206. this to, for example, make the most recent kill become the X Clipboard
  3207. selection.
  3208.  
  3209. ------------------------------
  3210. last-command-event
  3211.  
  3212. Last keyboard or mouse button event that was part of a command.  This
  3213. variable is off limits: you may not set its value or modify the event that
  3214. is its value, as it is destructively modified by read-key-sequence.  If
  3215. you want to keep a pointer to this value, you must use copy-event.
  3216.  
  3217. ------------------------------
  3218. last-input-event
  3219.  
  3220. Last keyboard or mouse button event recieved.  This variable is off
  3221. limits: you may not set its value or modify the event that is its value, as
  3222. it is destructively modified by next-event.  If you want to keep a pointer
  3223. to this value, you must use copy-event.
  3224.  
  3225. ------------------------------
  3226. last-input-time
  3227.  
  3228. The time (in seconds since Jan 1, 1970) of the last-command-event,
  3229. represented as a cons of two 16-bit integers.  This is destructively
  3230. modified, so copy it if you want to keep it.
  3231.  
  3232. ------------------------------
  3233. list-buffers-identification
  3234.  
  3235. String used to identify this buffer, or a function of one argument
  3236. to generate such a string.  This variable is always buffer-local.
  3237.  
  3238. ------------------------------
  3239. mail-abbrev-mailrc-file
  3240. Name of file with mail aliases.   If nil, ~/.mailrc is used.
  3241.  
  3242. ------------------------------
  3243. map-screen-hook
  3244. Function to call when screen is mapped.  One arg, the screen.
  3245.  
  3246. ------------------------------
  3247. menubar-show-keybindings
  3248.  
  3249. If true, the menubar will display keyboard equivalents.
  3250. If false, only the command names will be displayed.
  3251.  
  3252. ------------------------------
  3253. menu-no-selection-hook
  3254.  
  3255. Function or functions to call when a menu or dialog box is dismissed
  3256. without a selecting having been made.
  3257.  
  3258. ------------------------------
  3259. minibuffer-confirm-incomplete
  3260.  
  3261. If true, then in contexts where completing-read allows answers which
  3262. are not valid completions, an extra RET must be typed to confirm the
  3263. response.  This is helpful for catching typos, etc.
  3264.  
  3265. ------------------------------
  3266. mode-motion-hook
  3267.  
  3268. Function or functions which are called whenever the mouse moves.
  3269. You should normally use this rather than `mouse-motion-handler', which 
  3270. does some additional window-system-dependent things.  This hook is local
  3271. to every buffer, and should normally be set up by major-modes which want
  3272. to use special highlighting.  Every time the mouse moves over a window,
  3273. the mode-motion-hook of the buffer of that window is run.
  3274.  
  3275. ------------------------------
  3276. mouse-enter-screen-hook
  3277.  
  3278. Function or functions to call when mouse enters a screen.  One arg, the screen.
  3279. Be careful not to make assumptions about the window manger's focus model.
  3280. In most cases, the `deselect-screen-hook' is more appropriate.
  3281.  
  3282. ------------------------------
  3283. mouse-leave-screen-hook
  3284.  
  3285. Function or functions to call when mouse leaves screen.  One arg, the screen.
  3286. Be careful not to make assumptions about the window manger's focus model.
  3287. In most cases, the `select-screen-hook' is more appropriate.
  3288.  
  3289. ------------------------------
  3290. mouse-motion-handler
  3291. Handler for motion events.  One arg, a motion event.
  3292. For most applications, you should use `mode-motion-hook' instead of this.
  3293.  
  3294. ------------------------------
  3295. pre-abbrev-expand-hook
  3296.  
  3297. Function or functions to be called before abbrev expansion is done.
  3298. This is the first thing that expand-abbrev does, and so this may change
  3299. the current abbrev table before abbrev lookup happens.
  3300.  
  3301. ------------------------------
  3302. pre-display-buffer-function
  3303.  
  3304. If non-nil, function that will be called from `display-buffer' as the
  3305. first action.  It will receive three args, the same arguments as 
  3306. `display-buffer' -- the buffer, a flag which if non-nil means that the
  3307. currently selected window is not acceptable, and a screen to use (or nil,
  3308. meaning unspecified.)  This function may be used to select an appropriate
  3309. screen for the buffer, for example.  See also the variable
  3310. `display-buffer-function', which may be used to completely replace
  3311. display-buffer.
  3312.  
  3313. ------------------------------
  3314. previous-screen (screen miniscreen visible-only-p)
  3315.  
  3316. Return the previous screen in the screen list before SCREEN.
  3317. If MINISCREEN is non-nil, include the global-minibuffer-screen if it
  3318. has its own screen.
  3319. If VISIBLE-ONLY-P is non-nil, then cycle through the visible screens,
  3320. instead of all screens.
  3321.  
  3322. ------------------------------
  3323. print-level
  3324.  
  3325. Maximum depth of list nesting to print before abbreviating.
  3326. A value of nil means no limit.
  3327.  
  3328. ------------------------------
  3329. print-readably
  3330.  
  3331. If non-nil, then all objects will be printed in a readable form.
  3332. If an object has no readable representation, then an error is signalled.
  3333. When this is true, compiled-function objects will be written in #[...] form
  3334. instead of in #<byte-code [...]> form.  
  3335. Do not SET this variable; bind it instead.
  3336.  
  3337. ------------------------------
  3338. print-gensym
  3339.  
  3340. If non-nil, then uninterned symbols (those made with `make-symbol'
  3341. instead of `intern') will be preceeded by "#:", which tells the reader to
  3342. create a new symbol instead of interning.  Beware: the #: syntax creates a
  3343. new symbol each time it is seen, so if you print an object which contains
  3344. two pointers to the same uninterned symbol, `read' will not duplicate that
  3345. structure.
  3346.  
  3347. ------------------------------
  3348. revert-buffer-insert-file-contents-function
  3349.  
  3350. Function to use to insert contents when reverting this buffer.
  3351. Gets two args, first the nominal file name to use,
  3352. and second, t if reading the auto-save file.
  3353.  
  3354. ------------------------------
  3355. screen-default-alist
  3356.  
  3357. Alist of default values for screen creation, other than the first one.
  3358. These may be set in your init file, like this:
  3359.   (setq screen-default-alist ((width . 80) (height . 55)))
  3360. For values specific to the first Emacs screen, you must use X Resources.
  3361.  
  3362. ------------------------------
  3363. screen-icon-title-format
  3364.  
  3365. Controls the title of the icon corresponding to the selected screen.
  3366. See also the variable screen-title-format
  3367.  
  3368. ------------------------------
  3369. screen-title-format
  3370.  
  3371. Controls the title of the X window corresponding to the selected screen.
  3372. This is the same format as mode-line-format.
  3373.  
  3374. ------------------------------
  3375. search-caps-disable-folding
  3376.  
  3377. *If non-nil, upper case chars disable case fold searching.
  3378. This does not apply to "yanked" strings.  Default t.
  3379.  
  3380. ------------------------------
  3381. selection-converter-alist
  3382.  
  3383. An alist associating selection-types (such as STRING and TIMESTAMP) with
  3384. functions.  These functions will be called with three args: the name of the
  3385. selection (typically PRIMARY, SECONDARY, or CLIPBOARD); a desired type to
  3386. which the selection should be converted; and the local selection value
  3387. (whatever had been passed to x-own-selection).  These functions should
  3388. return the value to send to the X server (typically a string).  A return
  3389. value of nil means that the conversion could not be done.  A return value
  3390. which is the symbol NULL means that a side-effect was executed, and there
  3391. is no meaningful return value.
  3392.  
  3393. ------------------------------
  3394. shared-lisp-mode-map
  3395. Keymap for commands shared by all sorts of Lisp modes.
  3396.  
  3397. ------------------------------
  3398. sound-alist
  3399.  
  3400. An alist associating symbols with strings of audio-data.
  3401. When beep or ding is called with one of the symbols, the associated
  3402. sound data will be played instead of the standard beep.  This only works
  3403. if you are logged in on the console of a SparcStation.
  3404.  
  3405. Elements of this list should be of one of the following forms:
  3406.  
  3407.    ( symbol . string-or-symbol )
  3408.    ( symbol integer string-or-symbol )
  3409.  
  3410. If the string-or-symbol is a string, then it should contain raw sound data,
  3411. the contents of a .au file.  If it is a symbol, then that means that this
  3412. element is an alias for some other element, and the sound-player will look
  3413. for that next.  If the integer is provided, it is the volume at which the
  3414. sound should be played, from 0 to 100.  
  3415.  
  3416. If an element of this alist begins with the symbol default, then that sound
  3417. will be used when no other sound is appropriate.
  3418.  
  3419. The symbol t in place of a sound-string means to use the default X beep.
  3420. In this way, you can define beep-types to have different volumes even when
  3421. not running on the console of a Sun4.
  3422.  
  3423. You should probably add things to this list by calling the function
  3424. load-sound-file.
  3425.  
  3426. The following beep-types are used by Emacs itself:
  3427.  
  3428.     auto-save-error    when an auto-save does not succeed
  3429.     command-error    when the emacs command loop catches an error
  3430.     undefined-key    when you type a key that is undefined
  3431.     undefined-click    when you use an undefined mouse-click combination
  3432.     no-completion    during completing-read
  3433.     y-or-n-p        when you type something other than y or n
  3434.     yes-or-no-p      when you type something other than yes or no
  3435.  
  3436. Other lisp packages may use other beep types, but these are the ones that
  3437. the C kernel of Emacs uses.
  3438.  
  3439. ------------------------------
  3440. tag-table-alist
  3441.  
  3442. *A list which determines which tags files should be active for a 
  3443. given buffer.  This is not really an association list, in that all 
  3444. elements are checked.  The CAR of each element of this list is a 
  3445. pattern against which the buffers file name is compared; if it 
  3446. matches, then the CDR of the list should be the name of the tags
  3447. table to use.  If more than one element of this list matches the
  3448. buffers file name, then all of the associated tags tables will be
  3449. used.  Earlier ones will be searched first.
  3450.  
  3451. If the CAR of elements of this list are strings, then they are treated
  3452. as regular-expressions against which the file is compared (like the
  3453. auto-mode-alist).  If they are not strings, then they are evaluated.
  3454. If they evaluate to non-nil, then the current buffer is considered to
  3455. match.
  3456.  
  3457. If the CDR of the elements of this list are strings, then they are
  3458. assumed to name a TAGS file.  If they name a directory, then the string
  3459. "TAGS" is appended to them to get the file name.  If they are not 
  3460. strings, then they are evaluated, and must return an appropriate string.
  3461.  
  3462. For example:
  3463.   (setq tag-table-alist
  3464.     (("/usr/src/public/perl/" . "/usr/src/public/perl/perl-3.0/")
  3465.      ("\\.el$" . "/usr/local/emacs/src/")
  3466.      ("/jbw/gnu/" . "/usr15/degree/stud/jbw/gnu/")
  3467.      ("" . "/usr/local/emacs/src/")
  3468.      ))
  3469.  
  3470. This means that anything in the /usr/src/public/perl/ directory should use
  3471. the TAGS file /usr/src/public/perl/perl-3.0/TAGS; and file ending in .el should
  3472. use the TAGS file /usr/local/emacs/src/TAGS; and anything in or below the
  3473. directory /jbw/gnu/ should use the TAGS file /usr15/degree/stud/jbw/gnu/TAGS.
  3474. A file called something like "/usr/jbw/foo.el" would use both the TAGS files
  3475. /usr/local/emacs/src/TAGS and /usr15/degree/stud/jbw/gnu/TAGS (in that order)
  3476. because it matches both patterns.
  3477.  
  3478. If the buffer-local variable buffer-tag-table is set, then it names a tags
  3479. table that is searched before all others when find-tag is executed from this
  3480. buffer.
  3481.  
  3482. If there is a file called "TAGS" in the same directory as the file in 
  3483. question, then that tags file will always be used as well (after the
  3484. buffer-tag-table but before the tables specified by this list.)
  3485.  
  3486. If the variable tags-file-name is set, then the tags file it names will apply
  3487. to all buffers (for backwards compatibility.)  It is searched first.
  3488.  
  3489. ------------------------------
  3490. tags-always-build-completion-table
  3491.  
  3492. *If t, tags files will always be added to the completion table without 
  3493. asking first, regardless of the size of the tags file.
  3494.  
  3495. ------------------------------
  3496. terminal-screen
  3497. The initial screen-object, which represents Emacs's stdout.
  3498.  
  3499. ------------------------------
  3500. unmap-screen-hook
  3501. Function to call when screen is unmapped.  One arg, the screen.
  3502.  
  3503. ------------------------------
  3504. unread-command-event
  3505.  
  3506. Set this to an event object to simulate the reciept of an event from
  3507. the user.  Normally this is nil.
  3508.  
  3509. ------------------------------
  3510. user-real-name
  3511. The users name, base upon the real uid.
  3512.  
  3513. ------------------------------
  3514. write-contents-hooks
  3515.  
  3516. List of functions to be called before writing out a buffer to a file.
  3517. If one of them returns non-nil, the file is considered already written
  3518. and the rest are not called.
  3519. These hooks are considered to pertain to the buffer's contents,
  3520. not to the particular visited file; thus, `set-visited-file-name' does
  3521. not clear this variable, but changing the major mode does clear it.
  3522. See also `write-file-hooks'.
  3523.  
  3524. ------------------------------
  3525. x-allow-sendevents
  3526.  
  3527. *Non-nil means to allow synthetic events.  Nil means they are ignored.
  3528. Beware: allowing Emacs to process SendEvents opens a big security hole.
  3529.  
  3530. ------------------------------
  3531. x-backing-store
  3532.  
  3533. The backing store capability of this screen.
  3534. Values can be the symbols Always, WhenMapped, or NotUseful.
  3535.  
  3536. ------------------------------
  3537. x-bitmap-file-path
  3538.  
  3539. A list of the directories in which X bitmap files may be found.
  3540. If nil, this is initialized from the "*bitmapFilePath" resource.
  3541.  
  3542. ------------------------------
  3543. x-emacs-application-class
  3544.  
  3545. The X application class of the Emacs process.
  3546. This controls, among other things, the name of the `app-defaults' file
  3547. that emacs will use.  For changes to this variable to take effect, they
  3548. must be made before the connection to the X server is initialized, that is,
  3549. this variable may only be changed before emacs is dumped, or by setting it
  3550. in the file lisp/term/x-win.el.
  3551.  
  3552. ------------------------------
  3553. x-lost-selection-hooks
  3554.  
  3555. A function or functions to be called after the X server has notified us
  3556. that we have lost the selection.  The function(s) will be called with one
  3557. argument, a symbol naming the selection (typically PRIMARY, SECONDARY, or
  3558. CLIPBOARD.)
  3559.  
  3560. ------------------------------
  3561. x-mode-pointer-shape
  3562.  
  3563. *The shape of the mouse-pointer when over the modeline.
  3564. If this is nil, then either `x-nontext-pointer-shape' or `x-pointer-shape'
  3565. will be used.
  3566.  
  3567. ------------------------------
  3568. x-nontext-pointer-shape
  3569.  
  3570. *The shape of the mouse-pointer when over a buffer, but not over text.  
  3571. If this is nil, then `x-pointer-shape' is used.
  3572.  
  3573. ------------------------------
  3574. x-pointer-background-color
  3575. *The background color of the mouse pointer.
  3576.  
  3577. ------------------------------
  3578. x-pointer-foreground-color
  3579. *The foreground color of the mouse pointer.
  3580.  
  3581. ------------------------------
  3582. x-pointer-shape
  3583. *The shape of the mouse-pointer when over text.
  3584.  
  3585. This string may be any of the standard cursor names from appendix B 
  3586. of the Xlib manual (also known as the file <X11/cursorfont.h>) minus 
  3587. the XC_ prefix, or it may be a font name and glyph index of the form 
  3588. "FONT fontname index [[font] index]", or it may be the name of a
  3589. bitmap file acceptable to XmuLocateBitmapFile().  If it is a bitmap
  3590. file, and if a bitmap file whose name is the name of the cursor with
  3591. "msk" exists, then it is used as the mask.  For example, a pair of
  3592. files may be named "cursor.xbm" and "cursor.xbmmsk".
  3593.  
  3594. ------------------------------
  3595. x-save-under
  3596. Non-nil means this X screen supports the SaveUnder feature.
  3597.  
  3598. ------------------------------
  3599. x-screen-defaults
  3600.  
  3601. Alist of default screen-creation parameters for X-window screens.
  3602. These override what is specified in ~/.Xdefaults but are overridden
  3603. by the arguments to the particular call to x-create-screen.
  3604.  
  3605. ------------------------------
  3606. x-sent-selection-hooks
  3607.  
  3608. A function or functions to be called after we have responded to some
  3609. other clients request for the value of a selection that we own.  The
  3610. function(s) will be called with four arguments:
  3611.   - the name of the selection (typically PRIMARY, SECONDARY, or CLIPBOARD);
  3612.   - the name of the selection-type which we were requested to convert the
  3613.     selection into before sending (for example, STRING or LENGTH);
  3614.   - and whether we successfully transmitted the selection.
  3615. We might have failed (and declined the request) for any number of reasons,
  3616. including being asked for a selection that we no longer own, or being asked
  3617. to convert into a type that we dont know about or that is inappropriate.
  3618. This hook doesn't let you change the behavior of Emacs's selection replies,
  3619. it merely informs you that they have happened.
  3620.  
  3621. ------------------------------
  3622. zmacs-activate-region-hook
  3623.  
  3624. Function or functions called when the region becomes active;
  3625. see the variable zmacs-regions.
  3626.  
  3627. ------------------------------
  3628. zmacs-region-stays
  3629.  
  3630. Commands which do not wish to affect whether the region is currently
  3631. hilighted should set this to t.  Normally, the region is turned off after
  3632. executing each command that did not explicitly turn it on with the function
  3633. zmacs-activate-region. Setting this to true lets a command be non-intrusive.
  3634. See the variable zmacs-regions.
  3635.  
  3636. ------------------------------
  3637. zmacs-regions
  3638.  
  3639. *Whether LISPM-style active regions should be used.
  3640. This means that commands which operate on the region (the area between the
  3641. point and the mark) will only work while the region is in the ``active''
  3642. state, which is indicated by hilighting.  Executing most commands causes
  3643. the region to not be in the active state, so (for example) C-w will only
  3644. work immediately after activating the region.
  3645.  
  3646. More specifically:
  3647.  
  3648.  - Commands which operate on the region only work if the region is active.
  3649.  - Only a very small set of commands cause the region to become active:
  3650.    Those commands whose semantics are to mark an area, like mark-defun.
  3651.  - The region is deactivated after each command that is executed, except that:
  3652.  - "Motion" commands do not change whether the region is active or not.
  3653.  
  3654. set-mark-command (C-SPC) pushes a mark and activates the region.  Moving the
  3655. cursor with normal motion commands (C-n, C-p, etc) will cause the region
  3656. between point and the recently-pushed mark to be highlighted.  It will
  3657. remain highlighted until some non-motion comand is executed.
  3658.  
  3659. exchange-point-and-mark (C-x C-x) activates the region.  So if you mark a
  3660. region and execute a command that operates on it, you can reactivate the
  3661. same region with C-x C-x (or perhaps C-x C-x C-x C-x) to operate on it
  3662. again.
  3663.  
  3664. Generally, commands which push marks as a means of navigation (like
  3665. beginning-of-buffer and end-of-buffer (M-< and M->)) do not activate the
  3666. region.  But commands which push marks as a means of marking an area of
  3667. text (like mark-defun (M-C-h), mark-word (M-@) or mark-whole-buffer (C-x h))
  3668. do activate the region.
  3669.  
  3670. ------------------------------
  3671. zmacs-deactivate-region-hook
  3672.  
  3673. Function or functions called when the region becomes inactive;
  3674. see the variable zmacs-regions.
  3675.  
  3676. ------------------------------
  3677. zmacs-update-region-hook
  3678.  
  3679. Function or functions called when the active region changes.
  3680. This is called after each command that sets region-stays to t.
  3681. See the variable zmacs-regions.
  3682.  
  3683.  
  3684. Change Functions:
  3685. =================
  3686.  
  3687. baud-rate ()
  3688. The function `baud-rate' has been replaced by the variable `baud-rate'
  3689.  
  3690. ------------------------------
  3691. beep (&optional arg sound)
  3692.  
  3693. Beep, or flash the screen.
  3694. Also, unless an argument is given,
  3695. terminate any keyboard macro currently executing.
  3696. When called from lisp, the second argument is what sound to make.
  3697.  
  3698. ------------------------------
  3699. compare-windows (ignore-whitespace)
  3700.  
  3701. Compare text in current window with text in next window.
  3702. Compares the text starting at point in each window,
  3703. moving over text in each one as far as they match.
  3704.  
  3705. A prefix arg means ignore changes in whitespace.
  3706. The variable compare-windows-whitespace controls how whitespace is skipped.
  3707.  
  3708. If compare-ignore-case is non-nil, changes in case are also ignored.
  3709.  
  3710. ------------------------------
  3711. current-time-string (&optional arg)
  3712.  
  3713. Return the current time, as a human-readable string.
  3714. Programs can use it too, since the number of columns in each field is fixed.
  3715. The format is Sun Sep 16 01:03:52 1973.
  3716. If the optional argument is non-nil, it must be a cons of two integers, which
  3717. are the upper and lower 16 bits of a time in seconds (such as the value 
  3718. returned by the current-time-seconds function.
  3719. In a future Emacs version, the time zone may be added at the end,
  3720. if we can figure out a reasonably easy way to get that information.
  3721.  
  3722.  
  3723. ------------------------------
  3724. define-key (keymap keys def)
  3725.  
  3726. Args KEYMAP, KEYS, DEF.  Define key sequence KEYS, in KEYMAP, as DEF.
  3727. KEYMAP is a keymap object.
  3728. KEYS is the sequence of keystrokes to bind, described below.
  3729. DEF is anything that can be a key's definition:
  3730.  nil (means key is undefined in this keymap);
  3731.  a command (a Lisp function suitable for interactive calling);
  3732.  a string or key sequence vector (treated as a keyboard macro);
  3733.  a keymap (to define a prefix key);
  3734.  a symbol; when the key is looked up, the symbol will stand for its
  3735.     function definition, that should at that time be one of the above,
  3736.     or another symbol whose function definition is used, and so on.
  3737.  a cons (STRING . DEFN), meaning that DEFN is the definition
  3738.     (DEFN should be a valid definition in its own right);
  3739.  or a cons (KEYMAP . CHAR), meaning use definition of CHAR in map KEYMAP.
  3740.  
  3741. Contrary to popular belief, the world is not ASCII.  When running under a
  3742. window manager, Emacs can tell the difference between, for example, the
  3743. keystrokes control-h, control-shift-h, and backspace.  You can, in fact,
  3744. bind different commands to each of these.
  3745.  
  3746. A `key sequence' is a set of keystrokes.  A `keystroke' is a keysym and some
  3747. set of modifiers (such as control and meta).  A `keysym' is what is printed
  3748. on the keys on your keyboard.
  3749.  
  3750. A keysym may be represented by a symbol, or (if and only if it is equivalent
  3751. to a printing ASCII character) by its ASCII code.  The `A' key may be
  3752. represented by the symbol `A' or by the number 65.  The `break' key may be
  3753. represented only by the symbol `break'.
  3754.  
  3755. A keystroke may be represented by a list: the last element of the list is
  3756. the key (a symbol or number, as above) and the preceding elements are the
  3757. symbolic names of modifier keys (control, meta, super, hyper, and shift.)
  3758. Thus, the sequence control-b is represented by the forms `(control b)' 
  3759. and `(control 98)'.  A keystroke may also be represented by an event object,
  3760. as returned by the `next-command-event' and `read-key-sequence' functions.
  3761.  
  3762. Note that in this context, the keystroke `control-b' is *not* represented
  3763. by the number 2 (the ASCII code for ^B).  See below.
  3764.  
  3765. The `shift' modifier is somewhat of a special case.  You should not (and
  3766. cannot) use `(meta shift a)' to mean `(meta A)', since for characters that
  3767. have printing ASCII equivalents, the state of the shift key is implicit in
  3768. the keysym (a vs. A).  You also cannot say `(shift =)' to mean `+', as that
  3769. sort of thing varies from keyboard to keyboard.  The shift modifier is for
  3770. use only with characters that do not have a second keysym on the same key,
  3771. such as `backspace' and `tab'.
  3772.  
  3773. A key sequence is a vector of keystrokes.  As a degenerate case, elements
  3774. of this vector may also be keysyms if they have no modifiers.  That is,
  3775. the `A' keystroke is represented by all of these forms:
  3776.     A    65    (A)    (65)    [A]    [65]    [(A)]    [(65)]
  3777. the `control-a' keystroke is represented by these forms:
  3778.     (control A)    (control 65)    [(control A)]    [(control 65)]
  3779. the key sequence `control-c control-a' is represented by these forms:
  3780.     [(control c) (control a)]    [(control 99) (control 65)]
  3781.  
  3782. Mouse button clicks work just like keypresses: (control button1) means
  3783. pressing the left mouse button while holding down the control key.
  3784. [(control c) (shift button3)] means control-c, hold shift, click right.
  3785.  
  3786. Commands may be bound to the mouse-button up-stroke rather than the down-
  3787. stroke as well.  `button1' means the down-stroke, and `button1up' means the
  3788. up-stroke.  Different commands may be bound to the up and down strokes,
  3789. though that is probably not what you want, so be careful.
  3790.  
  3791. For backward compatibility, a key sequence may also be represented by a 
  3792. string.  In this case, it represents the key sequence(s) that would
  3793. produce that sequence of ASCII characters in a purely ASCII world.  For 
  3794. example, a string containing the ASCII backspace character, "\^H", would
  3795. represent two key sequences: `(control h)' and `backspace'.  Binding a
  3796. command to this will actually bind both of those key sequences.  Likewise 
  3797. for the following pairs:
  3798.  
  3799.         control h    backspace
  3800.         control i       tab
  3801.         control m       return
  3802.         control j       linefeed
  3803.         control [       escape
  3804.         control @    control space
  3805.  
  3806. After binding a command to two key sequences with a form like
  3807.  
  3808.     (define-key global-map "\^X\^I" 'command-1)
  3809.  
  3810. it is possible to redefine only one of those sequences like so:
  3811.  
  3812.     (define-key global-map [(control x) (control i)] 'command-2)
  3813.     (define-key global-map [(control x) tab] 'command-3)
  3814.  
  3815. Of course, all of this applies only when running under a window system.  If
  3816. you're talking to Emacs through an ASCII-only channel, you don't get any of
  3817. these features.
  3818.  
  3819. ------------------------------
  3820. describe-key (key)
  3821.  
  3822. Display documentation of the function KEY invokes.  
  3823. KEY is a string, or vector of events.  When called interactvely, key may
  3824. also be a menu selection.
  3825.  
  3826. ------------------------------
  3827. directory-files (dirname &optional full match nosort files-only)
  3828.  
  3829. Return a list of names of files in DIRECTORY.
  3830. There are four optional arguments:
  3831. If FULL is non-nil, absolute pathnames of the files are returned.
  3832. If MATCH is non-nil, only pathnames containing that regexp are returned.
  3833. If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
  3834.  NOSORT is useful if you plan to sort the result yourself.
  3835. If FILES-ONLY is the symbol t, then only the "files" in the directory
  3836.  will be returned; subdirectories will be excluded.  If FILES-ONLY is not
  3837.  nil and not t, then only the subdirectories will be returned.  Otherwise,
  3838.  if FILES-ONLY is nil (the default) then both files and subdirectories will
  3839.  be returned.
  3840.  
  3841. ------------------------------
  3842. display-buffer (buffer &optional not_this_window_p on_screen)
  3843.  
  3844. Make BUFFER appear in some window on the current screen, but don't select it.
  3845. BUFFER can be a buffer or a buffer name.
  3846. If BUFFER is shown already in some window in the current screen, just uses
  3847.  that one, unless the window is the selected window and NOT_THIS_WINDOW_P
  3848.  is non-nil.
  3849. If ON_SCREEN is non-nil, display on that screen instead of the current
  3850.  screen (or the dedicated screen).
  3851. If BUFFER has a dedicated screen, display on that screen instead of the
  3852.  current screen, unless ON_SCREEN was specified.
  3853. If pop-up-windows is non-nil, and the buffer is not visible in some window
  3854.  on the target screen, then windows will be split (a new window will be
  3855.  created) if there is room.  Otherwise, the least-recently-used window will
  3856.  be reused.
  3857. Returns the window displaying BUFFER.
  3858.  
  3859. ------------------------------
  3860. exit-minibuffer ()
  3861.  
  3862. Terminate this minibuffer argument.
  3863. If minibuffer-confirm-incomplete is true, and we are in a completing-read
  3864. of some kind, and the contents of the minibuffer is not an existing
  3865. completion, requires an additional RET before the minibuffer will be exited
  3866. (assuming that RET was the character that invoked this command: the character
  3867. in question must be typed again).
  3868.  
  3869. The function `expand-mail-aliases' is obsolete and has been removed.
  3870.  
  3871. ------------------------------
  3872. find-tag (tagname &optional other-window)
  3873.  
  3874. *Find tag whose name contains TAGNAME.
  3875.  Selects the buffer that the tag is contained in
  3876. and puts point at its definition.
  3877.  If TAGNAME is a null string, the expression in the buffer
  3878. around or before point is used as the tag name.
  3879.  If called interactively with a numeric argument, searches for the next tag
  3880. in the tag table that matches the tagname used in the previous find-tag.
  3881.  If second arg OTHER-WINDOW is non-nil, uses another window to display
  3882. the tag.
  3883.  
  3884. Multiple active tags tables and completion are supported.
  3885.  
  3886. Variables of note:
  3887.  
  3888.   tag-table-alist        controls which tables apply to which buffers
  3889.   tags-file-name        a default tags table
  3890.   tags-build-completion-table   controls completion behavior
  3891.   buffer-tag-table        another way of specifying a buffer-local table
  3892.   make-tags-files-invisible    whether tags tables should be very hidden
  3893.   tag-mark-stack-max        how many tags-based hops to remember
  3894.  
  3895. The meaning of the %s directive in `format' has slightly changed:
  3896. %s means print a string argument.  Actually, prints any object, with princ.
  3897. %S means print any object as an s-expression (using prin1).
  3898.  
  3899. ------------------------------
  3900. get-buffer-window (buffer &optional screen)
  3901.  
  3902. Return a window currently displaying BUFFER, or nil if none.
  3903. Only the selected screen is searched; if the optional second argument
  3904. SCREEN is non-nil, then that screen is searched instead.  If SCREEN is t,
  3905. then all screens are searched.
  3906.  
  3907. ------------------------------
  3908. interactive (args)
  3909.  
  3910. There are some new `interactive' codes:
  3911.  
  3912. e -- Last mouse event.
  3913.  
  3914. In addition, if the string begins with *
  3915.  then an error is signaled if the buffer is read-only.
  3916.  This happens before reading any arguments.
  3917. If the string begins with @, then the window the mouse is over is selected
  3918.  before anything else is done.  You may use both @ and *;
  3919. they are processed in the order that they appear.
  3920.  
  3921. ------------------------------
  3922. isearch-forward (&optional regexp-p)
  3923.  
  3924. Do incremental search forward.
  3925. With a prefix argument, do an incremental regular expression search instead.
  3926.  
  3927. As you type characters, they add to the search string and are found.
  3928. The following non-printing keys are bound in `isearch-mode-map'.  
  3929.  
  3930. Type DEL to cancel characters from end of search string.
  3931. Type RET to exit, leaving point at location found.
  3932. Type LFD (C-j) to match end of line.
  3933. Type C-s to search again forward, C-r to search again backward.
  3934. Type C-w to yank word from buffer onto end of search string and search for it.
  3935. Type C-y to yank rest of line onto end of search string and search for it.
  3936. Type C-q to quote control character to search for it.
  3937. Type M-SPC to match all whitespace chars in regexp.
  3938. C-g while searching or when search has failed cancels input back to what has
  3939.  been found successfully.
  3940. C-g when search is successful aborts and moves point to starting point.
  3941.  
  3942. Also supported is a search ring of the previous 16 search strings.
  3943. Type M-n to search for the next item in the search ring.
  3944. Type M-p to search for the previous item in the search ring.
  3945. Type M-TAB to complete the search string using the search ring.
  3946.  
  3947. The above keys are bound in the isearch-mode-map.  To change the keys which
  3948.  are special to isearch-mode, simply change the bindings in that map.
  3949.  
  3950. Other control and meta characters terminate the search
  3951.  and are then executed normally (depending on `search-exit-option').
  3952.  
  3953. If this function is called non-interactively, it does not return to
  3954. the calling function until the search is done.
  3955.  
  3956. ------------------------------
  3957. kill-emacs (&optional arg)
  3958.  
  3959. Exit the Emacs job and kill it.  Ask for confirmation, without argument.
  3960. If ARG is an integer, return ARG as the exit program code.
  3961. If ARG is a  string, stuff it as keyboard input.
  3962.  
  3963. The value of kill-emacs-hook, if not void,
  3964. is a list of functions (of no args),
  3965. all of which are called before Emacs is actually killed.
  3966.  
  3967. ------------------------------
  3968. local-key-binding (keys)
  3969.  
  3970. Return the binding for command KEYS in current local keymap only.
  3971. KEYS is a string, a vector of events, or a vector of key-description lists
  3972. as described in the documentation for the define-key function.
  3973. The binding is probably a symbol with a function definition.
  3974.  
  3975. ------------------------------
  3976. local-set-key (keys function)
  3977.  
  3978. Give KEY a local binding as COMMAND.
  3979. COMMAND is a symbol naming an interactively-callable function.
  3980. KEYS is a string, a vector of events, or a vector of key-description lists
  3981. as described in the documentation for the define-key function.
  3982. The binding goes in the current buffers local map,
  3983. which is shared with other buffers in the same major mode.
  3984.  
  3985. ------------------------------
  3986. local-unset-key (keys)
  3987.  
  3988. Remove local binding of KEY.
  3989. KEYS is a string, a vector of events, or a vector of key-description lists
  3990. as described in the documentation for the define-key function.
  3991.  
  3992. ------------------------------
  3993. lookup-key (keymap keys)
  3994.  
  3995. In keymap KEYMAP, look up key sequence KEYS.  Return the definition.
  3996. nil means undefined.  See doc of define-key for kinds of definitions
  3997. and key-sequence specifications.
  3998. Number as value means KEYS is "too long";
  3999. that is, characters in it except for the last one
  4000. fail to be a valid sequence of prefix characters in KEYMAP.
  4001. The number is how many characters at the front of KEYS
  4002. it takes to reach a non-prefix command.
  4003.  
  4004. ------------------------------
  4005. make-sparse-keymap ()
  4006.  
  4007. Construct and return a new keymap object.  All entries in it are nil,
  4008. meaning "command undefined".  The only difference between this function
  4009. and make-keymap is that this function returns a "smaller" keymap (one
  4010. that is expected to contain less entries.)  As keymaps dynamically resize,
  4011. the distinction is not great.
  4012.  
  4013. ------------------------------
  4014. mark (&optional inactive-p)
  4015.  
  4016. Return this buffers mark value as integer, or nil if no mark.
  4017.  
  4018. If zmacs-regions is true, then this returns nil unless the region is
  4019. currently in the active (hilighted) state.  With an argument of t, this
  4020. returns the mark (if there is one) regardless of the active-region state.
  4021. You should *generally* not use the mark unless the region is active, if
  4022. the user has expressed a preference for the active-region model.
  4023.  
  4024. If you are using this in an editing command, you are most likely making
  4025. a mistake; see the documentation of set-mark.
  4026.  
  4027. ------------------------------
  4028. mark-marker (&optional inactive_p)
  4029.  
  4030. Return this buffers mark, as a marker object.
  4031. If `zmacs-regions' is true, then this returns nil unless the region is
  4032. currently in the active (hilighted) state.  With an argument of t, this
  4033. returns the mark (if there is one) regardless of the zmacs-region state.
  4034. You should *generally* not use the mark unless the region is active, if
  4035. the user has expressed a preference for the zmacs-region model.
  4036. Watch out!  Moving this marker changes the mark position.
  4037. If you set the marker not to point anywhere, the buffer will have no mark.
  4038.  
  4039. ------------------------------
  4040. next-window (&optional window mini all_screens)
  4041.  
  4042. Return next window after WINDOW in canonical ordering of windows.
  4043. Optional second arg MINIBUF t means count the minibuffer window
  4044. even if not active.  If MINIBUF is neither t nor nil it means
  4045. not to count the minibuffer even if it is active.
  4046. Optional third arg ALL-SCREENS t means include all windows in all screens;
  4047. otherwise cycle within the selected screen, with the exception that if a
  4048. global minibuffer screen is in use, all screens are used.
  4049.  
  4050. ------------------------------
  4051. other-buffer (&optional buffer screen)
  4052.  
  4053. Return most recently selected buffer other than BUFFER.
  4054. Buffers not visible in windows are preferred to visible buffers.
  4055. If no other buffer exists, the buffer *scratch* is returned.
  4056. If BUFFER is omitted or nil, some interesting buffer is returned.
  4057. The ordering is for this screen; If second optional argument SCREEN
  4058. is provided, then the ordering is for that screen.  If the second arg
  4059. is t, then the global ordering is returned.
  4060.  
  4061. ------------------------------
  4062. other-window (n &optional all_screens)
  4063.  
  4064. Select the ARGth different window on this screen.
  4065. All windows on current screen are arranged in a cyclic order.
  4066. This command selects the window ARG steps away in that order.
  4067. A negative ARG moves in the opposite order.  If the optional second
  4068. argument ALL_SCREENS is non-nil, cycle through all screens.
  4069.  
  4070. ------------------------------
  4071. point-marker (&optional dont_copy_p)
  4072.  
  4073. Return value of point, as a marker object.
  4074. This marker is a copy; you may modify it with reckless abandon.
  4075. If the argument to this function is non-nil, then it returns the real
  4076. point-marker; modifying the position of this marker willl move point.
  4077. It is illegal to change the buffer of it, or make it point nowhere.
  4078.  
  4079. ------------------------------
  4080. read (&optional readcharfun)
  4081.  
  4082. The `read' function no longer consumes the whitespace following an expression
  4083. after reading it.  Point will be left immediately after the last character of
  4084. the token that was read, instead of after any whitespace following the last
  4085. character of the token.
  4086.  
  4087. ------------------------------
  4088. read-char ()
  4089.  
  4090. Read a character from the command input (keyboard or macro).
  4091. If a mouse click is detected, an error is signalled.  The character typed
  4092. is returned as an ASCII value.  This is most likely the wrong thing for you
  4093. to be using: consider using the `next-command-event' function instead.
  4094.  
  4095. ------------------------------
  4096. read-key-sequence (prompt)
  4097.  
  4098. Read a sequence of keystrokes or mouse clicks and return a vector of the
  4099. event objects read.  The vector is newly created, but the event objects are
  4100. reused: if you want to hold a pointer to them beyond the next call to this
  4101. function, you must copy them first.
  4102.  
  4103. The sequence read is sufficient to specify a non-prefix command starting
  4104. from the current local and global keymaps.  A C-g typed while in this
  4105. function is treated like any other character, and quit-flag is not set.
  4106. One arg, PROMPT, is a prompt string, or nil meaning do not prompt specially.
  4107.  
  4108. If the user selects a menu item while we are prompting for a key-sequence,
  4109. the returned value will be a vector of a single menu-selection event.
  4110. An error will be signalled if you pass this value to lookup-key or a
  4111. related function.
  4112.  
  4113. ------------------------------
  4114. recent-keys ()
  4115.  
  4116. Return vector of last 100 keyboard or mouse button events read.
  4117. This copies 100 event objects and a vector; it is safe to keep and modify
  4118. them.
  4119.  
  4120. ------------------------------
  4121. redraw-screen (screen)
  4122. Clear screen SCREEN and output again what is supposed to appear on it.
  4123.  
  4124. ------------------------------
  4125. this-command-keys ()
  4126.  
  4127. Returns a vector of the keyboard or mouse button events that were used
  4128. to invoke this command.  This copies the vector and the events; it is safe
  4129. to keep and modify them.
  4130.  
  4131. ------------------------------
  4132. visit-tags-table (file)
  4133.  
  4134. Tell tags commands to use tags table file FILE first.
  4135. FILE should be the name of a file created with the etags program.
  4136. A directory name is ok too; it means file TAGS in that directory.
  4137. This function is largely obsoleted by the variable tag-table-alist.
  4138.  
  4139. ------------------------------
  4140. write-region (start end filename &optional append visit)
  4141.  
  4142. Write current region into specified file.
  4143. When called from a program, takes three arguments:
  4144. START, END and FILENAME.  START and END are buffer positions.
  4145. Optional fourth argument APPEND if non-nil means
  4146.   append to existing file contents (if any).
  4147. Optional fifth argument VISIT if t means
  4148.   set the last-save-file-modtime of buffer to this files modtime
  4149.   and mark buffer not modified.
  4150. If VISIT is neither t nor nil, it means do not print
  4151.   the "Wrote file" message.
  4152. Kludgy feature: if START is a string, then that string is written
  4153. to the file, instead of any buffer contents, and END is ignored.
  4154.  
  4155.  
  4156. Changed Variables:
  4157. ==================
  4158.  
  4159. auto-fill-hook
  4160. The variable `auto-fill-hook' has been renamed `auto-fill-function'
  4161.  
  4162. ------------------------------
  4163. blink-paren-hook
  4164. The variable `blink-paren-hook' has been renamed `blink-paren-function'
  4165.  
  4166. ------------------------------
  4167. ctl-arrow
  4168.  
  4169. *Non-nil means display control chars with uparrow.
  4170. Nil means use backslash and octal digits.
  4171. Non-t and non-nil means display 8-bit characters (that is, characters
  4172. whose code is greater than 160 (SPC with the high bit on) will be
  4173. displayed as a single glyph.)
  4174. Automatically becomes buffer-local when set in any fashion.
  4175. This variable does not apply to characters whose display is specified
  4176. in the current display table (if there is one).
  4177.  
  4178. ------------------------------
  4179. default-directory
  4180.  
  4181. Name of default directory of current buffer.  Should end with slash.
  4182. Each buffer has its own value of this variable.
  4183.  
  4184. `inhibit-local-variables' has been replaced with `enable-local-variables',
  4185. with the reversed sense.
  4186.  
  4187. ------------------------------
  4188. executing-kbd-macro
  4189.  
  4190. Currently executing keyboard macro (a vector of events);
  4191. nil if none executing.
  4192.  
  4193. ------------------------------
  4194. executing-macro
  4195.  
  4196. Currently executing keyboard macro (a vector of events);
  4197. nil if none executing.
  4198.  
  4199. ------------------------------
  4200. inverse-video
  4201.  
  4202. The variable `inverse-video' is currently ignored; this will eventually be
  4203. a parameter of the `default' face on tty screens.  For X screens, simply set
  4204. the foreground and background colors appropriately.
  4205.  
  4206. ------------------------------
  4207. keyboard-translate-table
  4208.  
  4209. String used as translate table for keyboard input, or nil.
  4210. Each character is looked up in this string and the contents used instead.
  4211. If string is of length N, character codes N and up are untranslated.
  4212. This is the right thing to use only if you are on a dumb tty, as it cannot
  4213. handle input which cannot be represented as ASCII.  If you are running Emacs
  4214. under X, you should do the translations with the xmodmap program instead.
  4215.  
  4216. ------------------------------
  4217. last-command-char
  4218.  
  4219. If the value of last-command-event is a keyboard event, then
  4220. this is the nearest ASCII equivalent to it.  This the the value that
  4221. self-insert-command will put in the buffer.  Remember that there is
  4222. NOT a 1:1 mapping between keyboard events and ASCII characters: the set
  4223. of keyboard events is much larger, so writing code that examines this
  4224. variable to determine what key has been typed is bad practice, unless
  4225. you are certain that it will be one of a small set of characters.
  4226.  
  4227. ------------------------------
  4228. last-input-char
  4229.  
  4230. If the value of last-input-event is a keyboard event, then
  4231. this is the nearest ASCII equivalent to it.  Remember that there is
  4232. NOT a 1:1 mapping between keyboard events and ASCII characters: the set
  4233. of keyboard events is much larger, so writing code that examines this
  4234. variable to determine what key has been typed is bad practice, unless
  4235. you are certain that it will be one of a small set of characters.
  4236.  
  4237. ------------------------------
  4238. last-kbd-macro
  4239. Last kbd macro defined, as a vector of events; nil if none defined.
  4240.  
  4241. ------------------------------
  4242. lisp-indent-hook
  4243. The variable `lisp-indent-hook' has been renamed `lisp-indent-function'
  4244.  
  4245. ------------------------------
  4246. load-path
  4247. *List of directories to search for files to load.
  4248. Each element is a string (directory name) or nil (try default directory).
  4249.  
  4250. Note that the elements of this list *may not* begin with "~", so you must
  4251. call expand-file-name on them before adding them to this list.
  4252.  
  4253. Initialized based on EMACSLOADPATH environment variable, if any,
  4254. otherwise to default specified in by file paths.h when Emacs was built.
  4255. If there were no paths specified in paths.h, then Emacs chooses a default
  4256. value for this variable by looking around in the file-system near the
  4257. directory in which the Emacs executable resides.
  4258.  
  4259. ------------------------------
  4260. mail-aliases
  4261.  
  4262. Word-abbrev table of mail address aliases.
  4263. If this is nil, it means the aliases have not yet been initialized and
  4264. should be read from the .mailrc file.  (This is distinct from there being
  4265. no aliases, which is represented by this being a table with no entries.)
  4266.  
  4267. ------------------------------
  4268. mode-line-format
  4269.  
  4270. The `mode-line-format' and similar strings accept a new format directive:
  4271.  
  4272.   %S -- print name of selected screen (only meaningful under X Windows).
  4273.  
  4274. ------------------------------
  4275. mode-line-inverse-video
  4276.  
  4277. The variable `mode-line-inverse-video' is currently ignored; this will
  4278. eventually be a parameter of the `modeline' face on tty screens.  For X
  4279. screens, simply set the foreground and background colors appropriately.
  4280.  
  4281. ------------------------------
  4282. tags-file-name
  4283.  
  4284. *The name of the tags-table used by all buffers.
  4285. This is for backward compatibility, and is largely supplanted by the
  4286. variable tag-table-alist.
  4287.  
  4288. ------------------------------
  4289. temp-buffer-show-hook
  4290.  
  4291. The variable `temp-buffer-show-hook' has been renamed
  4292. `temp-buffer-show-function'.
  4293.  
  4294. ------------------------------
  4295. visible-bell
  4296.  
  4297. The `visible-bell' variable doesn't currently work; this will eventually 
  4298. be a screen parameter.
  4299.  
  4300. ------------------------------
  4301. write-file-hooks
  4302.  
  4303. List of functions to be called before writing out a buffer to a file.
  4304. If one of them returns non-nil, the file is considered already written
  4305. and the rest are not called.
  4306. These hooks are considered to pertain to the visited file.
  4307. So this list is cleared if you change the visited file name.
  4308. See also `write-contents-hooks'.
  4309.